Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2005:
[Freeciv-Dev] (PR#12319) make loaded sprite manditory
Home

[Freeciv-Dev] (PR#12319) make loaded sprite manditory

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12319) make loaded sprite manditory
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Feb 2005 12:12:16 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12319 >

This patch makes the unit.loaded sprite manditory.

-jason

Index: client/tilespec.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/tilespec.c,v
retrieving revision 1.237
diff -u -r1.237 tilespec.c
--- client/tilespec.c   17 Feb 2005 22:11:37 -0000      1.237
+++ client/tilespec.c   21 Feb 2005 20:11:30 -0000
@@ -1394,7 +1394,7 @@
   SET_SPRITE(unit.road,                "unit.road");
   SET_SPRITE(unit.sentry,      "unit.sentry");      
   SET_SPRITE(unit.stack,       "unit.stack");
-  sprites.unit.loaded = load_sprite("unit.loaded");
+  SET_SPRITE(unit.loaded, "unit.loaded");
   SET_SPRITE(unit.transform,    "unit.transform");
   SET_SPRITE(unit.connect,      "unit.connect");
   SET_SPRITE(unit.patrol,       "unit.patrol");

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12319) make loaded sprite manditory, Jason Short <=