1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

BattleAI: fix freeze fighting in dwelling

This commit is contained in:
Andrii Danylchenko 2023-10-29 09:29:57 +02:00
parent 7531400f53
commit 3025785839

View File

@ -100,9 +100,6 @@ void BattleProcessor::startBattlePrimary(const CArmedInstance *army1, const CArm
assert(gameHandler->gameState()->getBattle(army1->getOwner()) == nullptr);
assert(gameHandler->gameState()->getBattle(army2->getOwner()) == nullptr);
engageIntoBattle(army1->tempOwner);
engageIntoBattle(army2->tempOwner);
const CArmedInstance *armies[2];
armies[0] = army1;
armies[1] = army2;