Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10460) global observer shouldn't allocate private map
Home

[Freeciv-Dev] (PR#10460) global observer shouldn't allocate private map

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10460) global observer shouldn't allocate private map in pregame
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Oct 2004 20:19:29 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10460 >

I'll commit this immediately.

-mike

Index: server/stdinhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/stdinhand.c,v
retrieving revision 1.354
diff -u -r1.354 stdinhand.c
--- server/stdinhand.c  4 Oct 2004 04:37:34 -0000       1.354
+++ server/stdinhand.c  7 Oct 2004 03:18:14 -0000
@@ -2596,7 +2596,7 @@
       }
 
       pplayer = &game.players[game.nplayers];
-      server_player_init(pplayer, TRUE);
+      server_player_init(pplayer, server_state == RUN_GAME_STATE);
       sz_strlcpy(pplayer->name, OBSERVER_NAME);
       sz_strlcpy(pplayer->username, ANON_USER_NAME);




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10460) global observer shouldn't allocate private map in pregame, Mike Kaufman <=