Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5097) GAMELOSS doesn't work
Home

[Freeciv-Dev] (PR#5097) GAMELOSS doesn't work

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#5097) GAMELOSS doesn't work
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Aug 2003 15:05:16 -0700
Reply-to: rt@xxxxxxxxxxxxxx

If a GAMELOSS unit dies, pplayer->is_dying is set to TRUE and 
pplayer->is_alive to FALSE.  But because is_alive is now FALSE, the 
server doesn't know to kill off the player.  All kill_player() calls are 
surrounded by "if (pplayer->is_alive)" checks.

Of course is_alive is checked in many other places, so the "dead" player 
will probably be crippled.

jason




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