Complete.Org:
Mailing Lists:
Archives:
freeciv-ai:
May 2003: [freeciv-ai] bugfix: division by zero |
[freeciv-ai] bugfix: division by zero[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
In advmilitary.c, dist can be zero if we attempt to figure out the threat posed by the units of an allied player. Fix attached. I intend to commit this very soon. - Per
advmildist1.diff
|