mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
compile fix, fixes blit order of heroes in siege
This commit is contained in:
@ -2278,7 +2278,7 @@ si8 CBattleInfoCallback::battleMaxSpellLevel() const
|
||||
|
||||
boost::optional<int> CBattleInfoCallback::battleIsFinished() const
|
||||
{
|
||||
auto &stacks = battleGetAllStacks();
|
||||
auto stacks = battleGetAllStacks();
|
||||
|
||||
//checking winning condition
|
||||
bool hasStack[2]; //hasStack[0] - true if attacker has a living stack; defender similarly
|
||||
|
Reference in New Issue
Block a user