Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2000:
[Freeciv-Dev] pplayer->revolution
Home

[Freeciv-Dev] pplayer->revolution

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] pplayer->revolution
From: Thue <thue@xxxxxxx>
Date: Tue, 26 Dec 2000 12:41:16 +0100

There is lots of checks for
  if((pplayer->revolution>5) || (pplayer->revolution<0))
In the code, but as far as I can see pplayer->revolution can only be in that 
interval already. I grepped for occurences of revolution in the entire code 
and tried testing a bit, but I couldn't find any way it could get away. Does 
anyone have any words of wisdom, or should teh obsilete checks just be 
removed? (or replaced by a few asserts)

-Thue



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