- Fixed AI attack hangup if all possible attackers would deal no damage.

This commit is contained in:
jendave
2011-08-06 20:11:45 +00:00
parent 60403c9cdc
commit 5b87ff4e32

View File

@@ -213,6 +213,8 @@ public class ComputerUtil_Attack2 {
return (0 < AllZone.HumanPlayer.predictDamage(c.getNetCombatDamage(),c,true) || c.getName().equals("Guiltfeeder"));
}
});
if (attackersLeft.isEmpty()) return combat;
// *******************
// start of edits