Author: jtn
Date: Mon Jan 25 19:34:44 2016
New Revision: 31602

URL: http://svn.gna.org/viewcvs/freeciv?rev=31602&view=rev
Log:
Don't draw goto state sprites with fog.

See gna bug #24342.

Modified:
    branches/S2_6/client/tilespec.c

Modified: branches/S2_6/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/tilespec.c?rev=31602&r1=31601&r2=31602&view=diff
==============================================================================
--- branches/S2_6/client/tilespec.c     (original)
+++ branches/S2_6/client/tilespec.c     Mon Jan 25 19:34:44 2016
@@ -4998,7 +4998,7 @@
 
       sprite = t->sprites.path.s[state].specific;
       if (sprite != NULL) {
-        ADD_SPRITE_SIMPLE(sprite);
+        ADD_SPRITE(sprite, FALSE, 0, 0);
       }
 
       sprite = t->sprites.path.s[state].turns[length % 10];
@@ -5023,7 +5023,7 @@
     }
 
     if (waypoint) {
-      ADD_SPRITE_SIMPLE(t->sprites.path.waypoint);
+      ADD_SPRITE(t->sprites.path.waypoint, FALSE, 0, 0);
     }
 
     if (warn) {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to