Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2003:
[Freeciv-Dev] (PR#4536) pcity->ai.urgency not updated after reload
Home

[Freeciv-Dev] (PR#4536) pcity->ai.urgency not updated after reload

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#4536) pcity->ai.urgency not updated after reload
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Jul 2003 07:41:17 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Valgrind shows that pcity->ai.urgency is never updated after a saved
game is loaded.

Most likely this is a bug; the urgency should be recalculated when it is
needed.  Possibly the urgency should be saved.  This patch simply
initializes it to 0.

jason

Attachment: ai_urgency.diff
Description: ai_urgency.diff


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4536) pcity->ai.urgency not updated after reload, Jason Short <=