mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
One of recently added sanity checks was causing crashes during BattleAI decision-making. Actual reason turned out to be due to invalid requests generated by BattleAI when attempting to attack enemy unit from behind with double- wide unit. This change should make BattleAI correctly estimate such attacks