[Freeciv-Dev] Re: game.timeout
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Mar 10, 2002 at 04:39:25PM -0400, Mark Metson wrote:
>
> On Sun, 10 Mar 2002, Mike Kaufman wrote:
>
> > does anybody have any idea why GAME_MAX_TIMEOUT
> > is set at 8639999? Why not MAX_INT
> >
> > or make game.timeout an unsigned or an unsigned long?
>
> Did anyone find out why it doesnt work, too? I found when I set timeout to
> 24 hours it would briefly display as such each turn but promptly get
> overwritten as 5 hours 37 minutes.
Attached is the fix. Somebody (Trent in '98) decided that 18 hours and 16 bits
was
quite enough.
Note that this breaks network protocol.
maintainers: what do we want to do about this? I'm inclined to say:
now's a good a time as any to break it, (raimar: don't you have some
network efficiency code lying around waiting for such an opportunity?)
-mike
timeout.fix.diff
Description: Text document
|
|