mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-02 23:07:36 +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