Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#3368) Unit display in city window
Home

[Freeciv-Dev] Re: (PR#3368) Unit display in city window

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#3368) Unit display in city window
From: "ChrisK@xxxxxxxx" <ChrisK@xxxxxxxx>
Date: Thu, 20 Feb 2003 11:02:18 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, Feb 20, 2003 at 06:52:36AM -0800, Arnstein Lindgard wrote:
> On Mon, 10 Feb 2003 09:10:32 -0800
> "Per I. Mathisen via RT" <rt@xxxxxxxxxxxxxx> wrote:
> 
> > > > CVS 09 FEB 2003 GTK+ 1.2
> > > >
> > > > When you activate a unit of the present units in the city window,
> > > > by clicking with the right mouse button on it, this is not visible:
> > > > the unit looks still fortified.
> > >
> > > My bad. Here's a fix.
> > 
> > This doesn't fix it. The unit is merely shown in the main client sidebar,
> > while the unit is still shown as fortified in the city dialog. I don't
> > know why.
> > 
> >   - Per
> 
> Are you sure? The one-line fix works very well for me.
> 

Content-Description: fixicon-Feb-17.diff
> --- Feb-17/client/control.c   Thu Feb 20 09:20:09 2003
> +++ fixicon/client/control.c  Thu Feb 20 09:06:21 2003
> @@ -115,6 +115,7 @@
>      if (punit->activity != ACTIVITY_IDLE || punit->ai.control)  {
>        punit->activity = ACTIVITY_IDLE;
>        punit->ai.control = FALSE;
> +      refresh_unit_city_dialogs(punit);
>        request_new_unit_activity(punit, ACTIVITY_IDLE);
>      }
>    }

Yes, works for me, too.

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



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