[Freeciv-Dev] (PR#12164) update the overview tile
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12164 >
This patch, for 2.0, adds an overview_update_tile() call in several
places where it is needed.
Currently if you enable the citymap overlay for a settler and then move
it, the overview tile isn't updated.
-jason
? patch.diff
? win32.diff
? client/patch.diff
Index: client/control.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/control.c,v
retrieving revision 1.143.2.7
diff -u -r1.143.2.7 control.c
--- client/control.c 13 Nov 2004 08:27:44 -0000 1.143.2.7
+++ client/control.c 8 Feb 2005 00:29:25 -0000
@@ -1388,6 +1388,7 @@
update_map_canvas(canvas_x - (width - NORMAL_TILE_WIDTH) / 2,
canvas_y - (height - NORMAL_TILE_HEIGHT) / 2,
width, height);
+ overview_update_tile(ptile);
} else {
refresh_tile_mapcanvas(ptile, FALSE);
}
Index: client/packhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/packhand.c,v
retrieving revision 1.408.2.18
diff -u -r1.408.2.18 packhand.c
--- client/packhand.c 7 Feb 2005 08:19:00 -0000 1.408.2.18
+++ client/packhand.c 8 Feb 2005 00:29:25 -0000
@@ -617,6 +617,7 @@
update_map_canvas(canvas_x - (width - NORMAL_TILE_WIDTH) / 2,
canvas_y - (height - NORMAL_TILE_HEIGHT) / 2,
width, height);
+ overview_update_tile(pcity->tile);
} else {
refresh_tile_mapcanvas(pcity->tile, FALSE);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#12164) update the overview tile,
Jason Short <=
|
|