Index: ai/aiunit.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/ai/aiunit.c,v retrieving revision 1.248 diff -u -r1.248 aiunit.c --- ai/aiunit.c 2003/01/02 11:59:29 1.248 +++ ai/aiunit.c 2003/01/05 14:13:27 @@ -964,7 +964,8 @@ /* ...and free foreign city waiting for us. Who would resist! */ if (pcity && pplayers_at_war(pplayer, city_owner(pcity)) - && is_ground_unit(punit) + && could_unit_move_to_tile(punit, x1, y1) != 0 + && CAN_OCCUPY(punit) && map_get_terrain(punit->x, punit->y) != T_OCEAN) { SET_BEST(99999); continue;