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: ChrisK@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3368) Unit display in city window
From: "Arnstein Lindgard via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 10 Feb 2003 05:54:28 -0800
Reply-to: rt.freeciv.org@xxxxxxxxxxxxxx

On Sun, 9 Feb 2003 12:26:00 -0800
"ChrisK@xxxxxxxx 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.

diff -ruN -Xdiff_ignore Feb-08/client/control.c fixicon/client/control.c
--- Feb-08/client/control.c     Mon Feb 10 02:56:48 2003
+++ fixicon/client/control.c    Mon Feb 10 02:59:05 2003
@@ -114,6 +114,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);
     }
   }

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