Author: cazfi
Date: Tue May  5 06:02:18 2015
New Revision: 28993

URL: http://svn.gna.org/viewcvs/freeciv?rev=28993&view=rev
Log:
Made walled city sprites to respect city_offset -values.

See bug #23550

Modified:
    trunk/client/tilespec.c

Modified: trunk/client/tilespec.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/tilespec.c?rev=28993&r1=28992&r2=28993&view=diff
==============================================================================
--- trunk/client/tilespec.c     (original)
+++ trunk/client/tilespec.c     Tue May  5 06:02:18 2015
@@ -5163,7 +5163,9 @@
         }
 
         if (spr != NULL) {
-          ADD_SPRITE_FULL(spr);
+          ADD_SPRITE(spr, TRUE,
+                     FULL_TILE_X_OFFSET + t->city_offset_x,
+                     FULL_TILE_Y_OFFSET + t->city_offset_y);
         }
       }
       if (!options.draw_full_citybar && pcity->client.occupied) {


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

Reply via email to