[Freeciv-Dev] (PR#12561) Overview does not update properly
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12561 >
> [per - Sun Mar 20 14:31:54 2005]:
>
> Enemy units and game win-explored areas are not properly updated in the
> minimap. I see "remains" of various things in the minimap during play, but
> these go away when I save and load.
This is hard to track down exactly since the behavior is not consistent.
Usually things work okay but occasionally they get messed up. However
this patch fixes a bug that is probably at the cause of some or all of it.
-jason
Index: client/mapview_common.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/mapview_common.c,v
retrieving revision 1.226
diff -u -r1.226 mapview_common.c
--- client/mapview_common.c 20 Apr 2005 02:36:33 -0000 1.226
+++ client/mapview_common.c 20 Apr 2005 05:44:29 -0000
@@ -2053,6 +2053,8 @@
dirty_all();
update_map_canvas(0, 0, mapview.store_width,
mapview.store_height);
+ /* Have to update the overview too, since some tiles may have changed. */
+ refresh_overview_canvas();
} else {
int min_x = mapview.width, min_y = mapview.height;
int max_x = 0, max_y = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#12561) Overview does not update properly,
Jason Short <=
|
|