Author: jtn
Date: Thu Sep 29 01:56:13 2016
New Revision: 33936

URL: http://svn.gna.org/viewcvs/freeciv?rev=33936&view=rev
Log:
Use transport selection dialog when loading unit from Gtk3 city dialog.

See bug #25122.

Modified:
    trunk/client/gui-gtk-3.0/citydlg.c
    trunk/client/gui-gtk-3.x/citydlg.c

Modified: trunk/client/gui-gtk-3.0/citydlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.0/citydlg.c?rev=33936&r1=33935&r2=33936&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.0/citydlg.c  (original)
+++ trunk/client/gui-gtk-3.0/citydlg.c  Thu Sep 29 01:56:13 2016
@@ -2666,7 +2666,7 @@
     player_unit_by_number(client_player(), (size_t)data);
 
   if (NULL != punit) {
-    request_unit_load(punit, NULL, unit_tile(punit));
+    request_transport(punit, unit_tile(punit));
   }
 }
 

Modified: trunk/client/gui-gtk-3.x/citydlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-gtk-3.x/citydlg.c?rev=33936&r1=33935&r2=33936&view=diff
==============================================================================
--- trunk/client/gui-gtk-3.x/citydlg.c  (original)
+++ trunk/client/gui-gtk-3.x/citydlg.c  Thu Sep 29 01:56:13 2016
@@ -2700,7 +2700,7 @@
     player_unit_by_number(client_player(), (size_t)data);
 
   if (NULL != punit) {
-    request_unit_load(punit, NULL, unit_tile(punit));
+    request_transport(punit, unit_tile(punit));
   }
 }
 


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

Reply via email to