Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] (PR#9789) major revolution bug in handle_player_government
Home

[Freeciv-Dev] (PR#9789) major revolution bug in handle_player_government

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9789) major revolution bug in handle_player_government
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Aug 2004 00:15:48 -0700
Reply-to: rt@xxxxxxxxxxx

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

In plrhand.c handle_player_government():

   if (pplayer->revolution <= 5 && pplayer->revolution > 0) {
     return;
   }

it looks to me like if revolen is set to a value larger than 5, then any 
client can cheat by setting their government immediately after they 
start a revolution.

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9789) major revolution bug in handle_player_government, Jason Short <=