[Freeciv-Dev] Re: (PR#14478) Set maximum endyear to 32000
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14478 >
Mike Kaufman wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14478 >
>
> we should probably do this patch. nobody better complain about going
> longer than this, (though changing game.turns and game.year in a savegame
> would do the trick I think)
I have the feeling if the turns uses a SINT16 then an endyear of 32000
could overrun the turns. 28000 would be safe (maybe 25000 is a more
round number). Remember that with sufficiently high tech at the start
the turns could take 1 turn/year right from the beginning (-4000).
On a related note, I have no idea why the turns would require a signed
value.
-jason
|
|