[Freeciv-Dev] Re: Wonder obsolescence / AI tech goals (PR#1490)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, May 26, 2002 at 02:34:20PM +0200, Raimar Falke wrote:
> On Thu, May 23, 2002 at 10:55:59AM -0700, Christian Knoke wrote:
[...]
>
> > The wonder obsolenscence (now I have looked up this word
> > I can write it twice) is indicated 1 round too late, in
> > the wonder report.
>
> The attached should fix this (untested).
I've tried this patch, and it seems to fix the problem.
>
> Ben: this call may also be placed in update_research. Any comments?
>
> Raimar
Christian
> Index: server/plrhand.c
> ===================================================================
> RCS file: /home/freeciv/CVS/freeciv/server/plrhand.c,v
> retrieving revision 1.235
> diff -u -r1.235 plrhand.c
> --- server/plrhand.c 2002/05/24 07:59:06 1.235
> +++ server/plrhand.c 2002/05/26 12:13:33
> @@ -262,6 +262,7 @@
>
> set_invention(plr, tech_found, TECH_KNOWN);
> update_research(plr);
> + update_all_effects();
> remove_obsolete_buildings(plr);
> if (tech_flag(tech_found,TF_RAILROAD)) {
> upgrade_city_rails(plr, was_discovery);
--
Christian Knoke * * * http://www.enter.de/~c.knoke/
* * * * * * * * * Ceterum censeo Microsoft esse dividendum.
|
|