Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Bug with worklists and auto-upgrading unit targets
Home

[Freeciv-Dev] Bug with worklists and auto-upgrading unit targets

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Bug with worklists and auto-upgrading unit targets
From: Corin Anderson <corin@xxxxxxxxxx>
Date: Mon, 7 Feb 2000 22:54:40 -0800 (PST)

I found a bug with how the worklist code in cityturn.c auto-upgrades unit
building targets.  The idea is to check a unit target for obsolesence; if
it's obsolete, try to target the unit that obsoletes it.  For example, if
the worklist contains an entry for a musketeers, but conscription has been
researched, the worklist should switch to riflemen instead of the
now-obsolete musketeers.

Well, it doesn't do that right now.

I know what's wrong and how to fix it, but I just don't have the time this
evening to code, test, and diff.  I'll send a patch along tomorrow night.

*sigh*

Corey


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