Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2001:
[Freeciv-Dev] Re: Red Frame not shown (PR#700)
Home

[Freeciv-Dev] Re: Red Frame not shown (PR#700)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <ChrisK@xxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Red Frame not shown (PR#700)
From: Thue <thue@xxxxxxx>
Date: Sun, 8 Apr 2001 21:13:50 +0200

On Wednesday 14 February 2001 02:18, Thue wrote:
> On Tuesday 13 February 2001 20:47, Christian Knoke wrote:
> > Version: CVS 1.11.5 (recent)
> > System:  Linux i386
> > Client:  GTK+
> >
> > This is a somewhat ghostly one, I observed it
> > earlier, but couldn't prove it.
> >
> > In the city window, the red frame around a tile,
> > indicating the tile isn't usable for that city,
> > is not shown; you can't put a worker on it,
> > nevertheless.
> >
> > Reproducible: savegame is here:
> >
> > http://www.enter.de/~c.knoke/no-red-frame.sav.gz
> >
> > Login as chris; see city of Toronto at once;
> > the forest in the south seems to be free, but
> > isn't - its occupied by a Quebec worker.
> > Clicking around a bit makes the frame showing up
> > again in the end.
> >
> > Christian
>
> This happens when one of the functions add_adjust_workers() or
> auto_arrange_workers() are called without a followup-call to
> city_check_workers() for the adjacent cities. Bit of a hard issue not made
> easier by the fact that check_city_workers() calls add_adjust_workers(); I
> don't want to try a patch right now.
>
> -Thue

This was not trivial, as can be seen by the patch.
But I finally got around to it.

-Thue

Attachment: city_update.diff.bz2
Description: BZip2 compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: Red Frame not shown (PR#700), Thue <=