Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: [FreeCiv-Cvs] matusik: Quick fix division by zero in l
Home

[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]
To: Per Inge Mathisen <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] matusik: Quick fix division by zero in latest patch ...
From: Mateusz Stefek <mstefek@xxxxxxxxx>
Date: Wed, 15 Sep 2004 14:10:01 +0000
Reply-to: mstefek@xxxxxxxxx

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



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