Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#7222) gtk2 client doesn't update government menu on ti
Home

[Freeciv-Dev] (PR#7222) gtk2 client doesn't update government menu on ti

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#7222) gtk2 client doesn't update government menu on time
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Nov 2004 21:22:02 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7222 >

> [jdorje - Thu Jan 08 20:29:56 2004]:
> 
> When my ally gives me The Republic technology, the gtk2 client's 
> government menu isn't immediately updated.  Until the next turn Republic 
> is not available.

This patch should fix it.  I'll attach separately a game that can be
used to test it.

jason

Index: client/packhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/packhand.c,v
retrieving revision 1.419
diff -u -r1.419 packhand.c
--- client/packhand.c   13 Nov 2004 08:34:16 -0000      1.419
+++ client/packhand.c   14 Nov 2004 05:03:55 -0000
@@ -1453,7 +1453,7 @@
 
   if (need_effect_update) {
     improvements_update_obsolete();
-    /* need to update effects here too eventually */
+    update_menus();
   }
 
   update_research(pplayer);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#7222) gtk2 client doesn't update government menu on time, Jason Short <=