Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2002:
[Freeciv-Dev] Re: Military amortize (PR#1196)
Home

[Freeciv-Dev] Re: Military amortize (PR#1196)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Military amortize (PR#1196)
From: Chris Richards <chrisr@xxxxxxxxxxxxxxxx>
Date: 03 Jan 2002 19:34:58 -0600

> I just feel soo better :).. The code has new fresh breath ;)) Just
> can't we do MAX(1, c) in the function itself?

You can pass 0 into amortize and it works just fine.  So, I wouldn't
move the MAX(1, delay) because someone may want to pass in a 0.

Cheers,
cjr


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