[Freeciv-Dev] (PR#12196) full refresh instead of none
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12196 >
In the current code, if unqueue_mapview_updates is supposed to do no
refreshes it instead does a full refresh.
-jason
Index: mapview_common.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/mapview_common.c,v
retrieving revision 1.182
diff -u -r1.182 mapview_common.c
--- mapview_common.c 9 Feb 2005 17:15:17 -0000 1.182
+++ mapview_common.c 10 Feb 2005 02:43:25 -0000
@@ -2332,7 +2332,9 @@
} tile_list_iterate_end;
}
- update_map_canvas(min_x, min_y, max_x - min_x, max_y - min_y);
+ if (min_x < max_x && min_y < max_y) {
+ update_map_canvas(min_x, min_y, max_x - min_x, max_y - min_y);
+ }
}
}
if (tile_updates) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#12196) full refresh instead of none,
Jason Short <=
|
|