Complete.Org: Mailing Lists: Archives: freeciv-dev: March 1999:
Re: [Freeciv-Dev] Patch: Enable/Rename "Build City" menu when Adding
Home

Re: [Freeciv-Dev] Patch: Enable/Rename "Build City" menu when Adding

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Patch: Enable/Rename "Build City" menu when Adding settlers to City
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Thu, 04 Mar 1999 11:09:53 -0500

>>On Thu, 4 Mar 1999, Jeff Mallatt wrote:
>True...  There are some update-order problems that I lazily decided to not
>debug.  Specifically, update_menus seems to be called before the city size
>is increased.  OK!  I'll look into adding/moving an update_menus call to
>fix this problem, and then add a size check to the Build/Add City menu patch.

Attached is a second try at my Build/Add-to City menu item patch.  It
disables the Add to City menu item when the City is too big.  This patch
also changes handle_city_info to call update_menus after the City size has
increased due to a Settler being added.

Attachment: add_settlers_2.diff.gz
Description: Binary data

jjm

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