Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: [PATCH] Incorrect 'turns to build' display; fixed.
Home

[Freeciv-Dev] Re: [PATCH] Incorrect 'turns to build' display; fixed.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Incorrect 'turns to build' display; fixed.
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Tue, 04 Jul 2000 11:47:55 -0400

At 2000/07/03 16:47 , Jeff Mallatt wrote:
>At 2000/07/03 16:40 , Tony Stuckey wrote:
>>On Mon, Jul 03, 2000 at 05:20:55PM +0200, Big Gaute wrote:
>>> Christian Knoke <ChrisK@xxxxxxxx> writes:
>>> > I wondered for long why the AI switches wonders so often.
>>> 
>>> Good question, actually.  This is _not_ the reason, since switching
>>> from a wonder to another does not incur a penalty (even for human
>>> players) anyway.
>>
>>      Switching within any category (unit to unit, building to building,
>>or wonder to wonder) does not invoke any penalty.
>
>I'm working on a patch to address the entire production switching issue,
>including proper display of turns left.  It's close, but not done, and I'm
>holding off working on it until the recent spate of bad bugs are squashed.

Here's a patch which does two basic things:

- Displays the correct number of turns to build.
- Allows players to switch back to original improvement class, in the same
year as they switched to a different class, without incuring a penalty.

Attachment: production-penalty-fix-2.diff.gz
Description: Binary data

jjm

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