Author: cazfi
Date: Sun Oct 23 09:57:50 2016
New Revision: 34214

URL: http://svn.gna.org/viewcvs/freeciv?rev=34214&view=rev
Log:
Made goto activity icon to use correct offsets.

Reported by Jacob Nevins <jtn>

See bug #25039

Modified:
    trunk/client/tilespec.c

Modified: trunk/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/tilespec.c?rev=34214&r1=34213&r2=34214&view=diff
==============================================================================
--- trunk/client/tilespec.c     (original)
+++ trunk/client/tilespec.c     Sun Oct 23 09:57:50 2016
@@ -4213,7 +4213,8 @@
     } else if (punit->activity != ACTIVITY_IDLE) {
       ADD_SPRITE_SIMPLE(t->sprites.unit.connect);
     } else {
-      ADD_SPRITE_FULL(t->sprites.unit.go_to);
+      ADD_SPRITE(t->sprites.unit.go_to, TRUE, FULL_TILE_X_OFFSET + 
t->activity_offset_x,
+                 FULL_TILE_Y_OFFSET + t->activity_offset_y);
     }
   }
 


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

Reply via email to