Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] Re: (PR#6220) !pplayer->is_dying assertion fails
Home

[Freeciv-Dev] Re: (PR#6220) !pplayer->is_dying assertion fails

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jshort@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6220) !pplayer->is_dying assertion fails
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2003 11:44:31 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Fixing this is tricky and probably won't happen in the near term.  This 
patch just removes the assertion.

jason

? rc
Index: server/sanitycheck.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/sanitycheck.c,v
retrieving revision 1.34
diff -u -r1.34 sanitycheck.c
--- server/sanitycheck.c        2003/09/22 13:51:58     1.34
+++ server/sanitycheck.c        2003/09/23 18:41:57
@@ -322,8 +322,10 @@
       assert(city_list_size(&pplayer->cities) == 0);
     }
 
-    /* Dying player should have been killed already. */
+#if 0
+    /* Dying players shouldn't be left around.  But they are. */
     assert(!pplayer->is_dying);
+#endif
   }
 }
 

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