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

 Common code can now handle return command for air units, so enable
that in win32 code.
 One less is_air_unit() and is_heli_unit().


 - ML

diff -Nurd -X.diff_ignore freeciv/client/gui-win32/menu.c freeciv/client/gui-win32/menu.c
--- freeciv/client/gui-win32/menu.c	2007-01-21 13:24:02.000000000 +0200
+++ freeciv/client/gui-win32/menu.c	2007-01-26 23:02:10.000000000 +0200
@@ -1175,8 +1175,7 @@
 		     can_unit_do_connect(punit, ACTIVITY_RAILROAD));
       my_enable_menu(menu, IDM_ORDERS_CONNECT_IRRIGATE,
 		     can_unit_do_connect(punit, ACTIVITY_IRRIGATE));
-      my_enable_menu(menu, IDM_ORDERS_RETURN,
-		     !(is_air_unit(punit) || is_heli_unit(punit)));
+      my_enable_menu(menu, IDM_ORDERS_RETURN, TRUE);
       my_enable_menu(menu, IDM_ORDERS_DIPLOMAT_DLG,
 		     is_diplomat_unit(punit)
 		     && diplomat_can_do_action(punit, DIPLOMAT_ANY_ACTION,
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to