Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: civserver segfault: generalized improvements
Home

[Freeciv-Dev] Re: civserver segfault: generalized improvements

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: civserver segfault: generalized improvements
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Sun, 13 Jan 2002 18:18:43 +0000 (WET)

This should fix the assert failure:

--- server/mapgen.c     2002/01/09 21:48:10     1.81
+++ server/mapgen.c     2002/01/13 18:19:41
@@ -1219,6 +1219,9 @@
 
   /* restore previous random state: */
   set_myrand_state(rstate);
+
+  if (map.num_continents>0)
+    update_island_impr_effect(-1, map.num_continents);
 }

I'll commit it ASAP.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa




[Prev in Thread] Current Thread [Next in Thread]