[Freeciv-Dev] (PR#9716) fill_ranges_improv_lists assert
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9716 >
This patch removes the "bad" assertion.
jason
Index: common/improvement.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/improvement.c,v
retrieving revision 1.43
diff -u -r1.43 improvement.c
--- common/improvement.c 13 Aug 2004 15:59:12 -0000 1.43
+++ common/improvement.c 18 Aug 2004 17:50:58 -0000
@@ -286,7 +286,11 @@
if (pcity) {
equiv_list[IR_CITY] = pcity->improvements;
cont = map_get_continent(pcity->x, pcity->y);
+#if 0
+ /* This assertion seems obvious enough, but it fails in the client
+ * because city info is sent before tile info. */
assert(cont > 0);
+#endif
}
if (pplayer) {
- [Freeciv-Dev] Re: (PR#9716) fill_ranges_improv_lists assert, Christian Knoke, 2004/08/16
- [Freeciv-Dev] Re: (PR#9716) fill_ranges_improv_lists assert, Christian Knoke, 2004/08/16
- [Freeciv-Dev] (PR#9716) fill_ranges_improv_lists assert, Jason Short, 2004/08/17
- [Freeciv-Dev] (PR#9716) fill_ranges_improv_lists assert, Christian Knoke, 2004/08/18
- [Freeciv-Dev] Re: (PR#9716) fill_ranges_improv_lists assert, Jason Short, 2004/08/18
- [Freeciv-Dev] Re: (PR#9716) fill_ranges_improv_lists assert, Jason Short, 2004/08/18
- [Freeciv-Dev] Re: (PR#9716) fill_ranges_improv_lists assert, Jason Short, 2004/08/18
- [Freeciv-Dev] (PR#9716) fill_ranges_improv_lists assert,
Jason Short <=
- [Freeciv-Dev] (PR#9716) fill_ranges_improv_lists assert, Guest, 2004/08/19
- [Freeciv-Dev] Re: (PR#9716) fill_ranges_improv_lists assert, Jason Short, 2004/08/19
- [Freeciv-Dev] (PR#9716) fill_ranges_improv_lists assert, Guest, 2004/08/20
- [Freeciv-Dev] (PR#9716) fill_ranges_improv_lists assert, Mateusz Stefek, 2004/08/20
|
|