1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Nullkiller: fix border gate and garrison bypassing when owned

This commit is contained in:
Andrii Danylchenko
2021-05-16 14:45:17 +03:00
committed by Andrii Danylchenko
parent 0705ee595a
commit 1a69a43f09
4 changed files with 19 additions and 9 deletions

View File

@@ -90,11 +90,6 @@ TGoalVec Composition::decompose() const
newComposition.addNext(goal);
}
if(newComposition.isElementar() && !newComposition.hero.validAndSet())
{
logAi->error("Bad");
}
result.push_back(sptr(newComposition));
}