Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2002:
[freeciv-ai] create_city()
Home

[freeciv-ai] create_city()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] create_city()
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 28 Aug 2002 22:12:08 +0000 (GMT)

Just a small fix to create_city() in server/citytools.c, which doesn't
properly initialize pcity->ai.urgency, leading to extreme, random values
in this variable until it is properly set later.

Also, a danger value of -1 isn't warranted.

Yours
Per

Attachment: citytoolsurgencyfix.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] create_city(), Per I. Mathisen <=