Author: mir3x
Date: Mon Dec 28 10:05:24 2015
New Revision: 31235

URL: http://svn.gna.org/viewcvs/freeciv?rev=31235&view=rev
Log:
Fixed quick buying from map, when user couldnt afford target.

See bug #24225


Modified:
    trunk/client/gui-qt/citydlg.cpp

Modified: trunk/client/gui-qt/citydlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/citydlg.cpp?rev=31235&r1=31234&r2=31235&view=diff
==============================================================================
--- trunk/client/gui-qt/citydlg.cpp     (original)
+++ trunk/client/gui-qt/citydlg.cpp     Mon Dec 28 10:05:24 2015
@@ -3166,7 +3166,7 @@
   if (target != NULL) {
     city_get_queue(pw_city, &queue);
     switch (when_change) {
-    case 0: /*Change current tech*/
+    case 0: /* Change current target */
       city_change_production(pw_city, *target);
       if (city_can_buy(pw_city) && buy_it) {
         city_buy_production(pw_city);


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to