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

 $subject


 - ML

diff -Nurd -X.diff_ignore freeciv/common/unit.c freeciv/common/unit.c
--- freeciv/common/unit.c	2007-03-08 17:18:27.000000000 +0200
+++ freeciv/common/unit.c	2007-03-08 19:07:03.000000000 +0200
@@ -826,7 +826,7 @@
     return (is_ground_unit(punit)
 	    && punit->activity != ACTIVITY_FORTIFIED
 	    && !unit_flag(punit, F_SETTLERS)
-	    && !is_ocean(ptile->terrain));
+	    && (!is_ocean(ptile->terrain) || ptile->city));
 
   case ACTIVITY_FORTIFIED:
     return FALSE;
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to