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

[Freeciv-Dev] Re: pplayer->revolution

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: pplayer->revolution
From: Jesdyn Flamestrike <jesdynf@xxxxxxxxxxxx>
Date: Tue, 26 Dec 2000 06:20:20 -0600

On Tue, Dec 26, 2000 at 12:41:16PM +0100, Thue wrote:

> There is lots of checks for
>   if((pplayer->revolution>5) || (pplayer->revolution<0))

The asserts are probably the way you wanna go. Not sure what ->revolution
signifies, but if the check appears in that many places maybe those two
constants oughta be #defined?

-- 
Asher Densmore-Lynn <jesdynf@xxxxxxxxxxxx>




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