[Freeciv-Dev] Re: [FreeCiv-Cvs] matusik: Quick fix division by zero in l
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Dnia 2004-09-15 14:32:40, Per Inge Mathisen napisał(a):
On Wed, 15 Sep 2004 freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> ---- Log message:
> Tag: HEAD
>
> Quick fix division by zero in latest patch by Per
How could a division by zero happen? Surely you never evaluate the
want
for a terrain improver with no cities...
- Per
but it happens quite often.
I suspect that the statistics contain 0 when AI builds it's first city
or the tile is located on the other continent
--
mateusz
----------------------------------------------------------------------
Portal INTERIA.PL zaprasza... >>> http://link.interia.pl/f17cb
|
|