? att0.gz ? auto.rc ? saves Index: ai/aiunit.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/ai/aiunit.c,v retrieving revision 1.219 diff -u -r1.219 aiunit.c --- ai/aiunit.c 2002/09/24 00:49:18 1.219 +++ ai/aiunit.c 2002/09/25 18:11:10 @@ -955,7 +955,7 @@ if (pdef) { struct unit *patt = get_attacker(punit, x1, y1); - if (!can_unit_attack_tile(punit, x1, y1)) { + if (!can_unit_attack_unit_at_tile(punit, pdef, x1, y1)) { continue; } Index: server/unithand.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/unithand.c,v retrieving revision 1.233 diff -u -r1.233 unithand.c --- server/unithand.c 2002/09/11 17:04:43 1.233 +++ server/unithand.c 2002/09/25 18:11:10 @@ -945,7 +945,7 @@ /*** Try to attack if there is an enemy unit on the target tile ***/ if (pdefender && pplayers_at_war(unit_owner(punit), unit_owner(pdefender))) { - if (!can_unit_attack_tile(punit, dest_x , dest_y)) { + if (!can_unit_attack_unit_at_tile(punit, pdefender, dest_x , dest_y)) { notify_player_ex(pplayer, punit->x, punit->y, E_NOEVENT, _("Game: You can't attack there.")); return FALSE;