Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] check_map_pos update
Home

[Freeciv-Dev] check_map_pos update

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] check_map_pos update
From: Jason Dorje Short <vze2zq63@xxxxxxxxxxx>
Date: Mon, 22 Oct 2001 00:57:29 -0400
Reply-to: jdorje@xxxxxxxxxxxx

There appears to be just one piece of code left that is not consistent
with the check_map_pos change:

[jshort@jason freeciv]$ cvs diff client/
Index: client//control.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/control.c,v
retrieving revision 1.62
diff -u -r1.62 control.c
--- client//control.c   2001/10/18 15:12:46     1.62
+++ client//control.c   2001/10/22 04:55:27
@@ -1030,7 +1030,7 @@
   was_teleported=!is_tiles_adjacent(punit->x, punit->y, pinfo->x,
pinfo->y);
   x=punit->x;
   y=punit->y;
-  punit->x=-1;  /* focus hack - if we're moving the unit in focus, it
wont
+  /* punit->x=-1; */  /* focus hack - if we're moving the unit in
focus, it wont
                 * be redrawn on top of the city */
 
   unit_list_unlink(&map_get_tile(x, y)->units, punit);


Is this focus hack needed?  What does it do?  I can't quite see the
difference when it's disabled.

jason


[Prev in Thread] Current Thread [Next in Thread]