Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] fix for broken cvs
Home

[Freeciv-Dev] fix for broken cvs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] fix for broken cvs
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 6 Apr 2003 21:28:07 +0000 (GMT)

Please check if this is ok and commit ASAP. It looks right, but I didn't
bother to read through all changes to the nations code to find out for
sure. It seems to work though. - Per

PS On a related note, connecting as "per", then
        ai per
        start
still triggers an assert in tech.c; this is IIRC an old issue which Raimar
is responsible for. Can this get fixed? It _seems_ that the issue is
merely an anal assert which can be removed.

Index: server/srv_main.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/srv_main.c,v
retrieving revision 1.119
diff -u -r1.119 srv_main.c
--- server/srv_main.c   2003/04/04 15:47:50     1.119
+++ server/srv_main.c   2003/04/06 21:23:32
@@
-1110,7 +1111,7 @@
   struct nation_type* nation;

   players_iterate(pplayer) {
-    if (pplayer->nation == MAX_NUM_NATIONS) {
+    if (pplayer->nation == NO_NATION_SELECTED) {
       /* still undecided */
       continue;
     }




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