| [Freeciv-Dev] Re: (PR#9978) sanitycheck.c:56: check_specials: Assertion [Top] [All Lists][Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
 
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9978 >
Brett Albertson wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9978 >
> 
> I had the following server crash while starting a new game.  This is 
> current CVS source on Linux.  
Thanks for the report.  Somehow I bungled the last patch and T_UNUSED 
crept back into the enumeration.
jason
 Index: server/mapgen.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/mapgen.c,v
retrieving revision 1.158
diff -u -r1.158 mapgen.c
--- server/mapgen.c     7 Sep 2004 23:28:47 -0000       1.158
+++ server/mapgen.c     8 Sep 2004 02:32:10 -0000
@@ -36,7 +36,7 @@
 /* Old-style terrain enumeration: deprecated. */
 enum {
   T_ARCTIC, T_DESERT, T_FOREST, T_GRASSLAND, T_HILLS, T_JUNGLE,
-  T_MOUNTAINS, T_OCEAN, T_PLAINS, T_UNUSED, T_SWAMP, T_TUNDRA,
+  T_MOUNTAINS, T_OCEAN, T_PLAINS, T_SWAMP, T_TUNDRA,
 };
 
 /* Provide a block to convert from native to map coordinates.  For instance
 
| [Prev in Thread] | Current Thread | [Next in Thread] |  
[Freeciv-Dev] Re: (PR#9978) sanitycheck.c:56: check_specials: Assertion `terrain >= 0 && terrain < (game.terrain_count)' failed.,
Jason Short <=
 
 |  |