Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] Re: (PR#13523) AutoReply: settler outlines drawn in city m
Home

[Freeciv-Dev] Re: (PR#13523) AutoReply: settler outlines drawn in city m

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#13523) AutoReply: settler outlines drawn in city mode
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Jul 2005 17:18:42 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Here's a patch.

-jason


Index: client/tilespec.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/tilespec.c,v
retrieving revision 1.317
diff -p -u -r1.317 tilespec.c
--- client/tilespec.c   22 Jul 2005 16:18:05 -0000      1.317
+++ client/tilespec.c   24 Jul 2005 00:18:16 -0000
@@ -3666,7 +3666,7 @@ static int fill_grid_sprite_array(const 
       if (XOR(city[0], city[1])) {
        ADD_SPRITE_SIMPLE(t->sprites.grid.city[pedge->type]);
       }
-      if (XOR(unit[0], unit[1])) {
+      if (!citymode && XOR(unit[0], unit[1])) {
        ADD_SPRITE_SIMPLE(t->sprites.grid.worked[pedge->type]);
       }
     }

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#13523) AutoReply: settler outlines drawn in city mode, Jason Short <=