Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] (PR#2742) Feat missing: Activate supported units from City
Home

[Freeciv-Dev] (PR#2742) Feat missing: Activate supported units from City

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: admerik@xxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2742) Feat missing: Activate supported units from City Dialog
From: "Andreas Kemnade" <akemnade@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Apr 2003 12:00:00 -0700
Reply-to: rt@xxxxxxxxxxxxxx

[emj - Tue Jan  7 02:17:36 2003]:

> on the Win32 (B3) client it is impossible to active supported units 
> that are not present in the city. I have been told that this works fine 
> on the linux version.

Should be solved now. 

Greetings
Andreas Kemnade

--- client/gui-win32/citydlg.c  2003/02/27 00:31:10     1.51
+++ client/gui-win32/citydlg.c  2003/04/07 18:44:03
@@ -1607,8 +1609,7 @@
   struct city *pcity;  
   if((punit=player_find_unit_by_id(game.player_ptr, 
                                   pdialog->support_unit_ids[n])) &&
-     (pcity=map_get_city(punit->x, punit->y)) &&
-     (pdialog=get_city_dialog(pcity))) {   
+     (pcity = find_city_by_id(punit->homecity))) {   
       popup_message_dialog(NULL,
            /*"supportunitsdialog"*/ _("Unit Commands"),
            unit_description(punit),



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#2742) Feat missing: Activate supported units from City Dialog, Andreas Kemnade <=