Complete.Org: Mailing Lists: Archives: freeciv-ai: May 2003:
[freeciv-ai] bugfix: division by zero
Home

[freeciv-ai] bugfix: division by zero

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] bugfix: division by zero
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 7 May 2003 19:41:01 +0000 (GMT)

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

Attachment: advmildist1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] bugfix: division by zero, Per I. Mathisen <=