<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39568 >

In the gtk2.0 client, you cannot sell an improvement by clicking on this
in the city dialog if you bought in the same turn. This quite annoying...

--- client/gui-gtk-2.0/citydlg.c        2007-08-13 22:49:05.000000000 +0200
+++ client/gui-gtk-2.0/citydlg.c.new    2007-08-14 18:38:34.000000000 +0200
@@ -2475,8 +2475,7 @@
     return;
   }
 
-  if (pdialog->pcity->did_buy || pdialog->pcity->did_sell
-      || pdialog->pcity->owner != game.player_ptr) {
+  if (pdialog->pcity->did_sell || pdialog->pcity->owner !=
game.player_ptr) {
     return;
   }
   

--- client/gui-gtk-2.0/citydlg.c	2007-08-13 22:49:05.000000000 +0200
+++ client/gui-gtk-2.0/citydlg.c.new	2007-08-14 18:38:34.000000000 +0200
@@ -2475,8 +2475,7 @@
     return;
   }
 
-  if (pdialog->pcity->did_buy || pdialog->pcity->did_sell
-      || pdialog->pcity->owner != game.player_ptr) {
+  if (pdialog->pcity->did_sell || pdialog->pcity->owner != game.player_ptr) {
     return;
   }
   
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to