[Freeciv-Dev] check_map_pos update
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
- [Freeciv-Dev] check_map_pos update,
Jason Dorje Short <=
|
|