mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Hackfix for ghost stack draw.
This commit is contained in:
parent
f890037008
commit
ace52cfdb1
@ -3435,7 +3435,8 @@ BattleObjectsByHex CBattleInterface::sortObjectsByHex()
|
||||
sorted.hex[getCurrentPosition(stack)].alive.push_back(stack);
|
||||
}
|
||||
}
|
||||
else
|
||||
//FIXME: hack to ignore ghost stacks
|
||||
else if(!(creAnims[stack->ID]->getType() == CCreatureAnim::DEAD && stack->isGhost()))
|
||||
sorted.hex[stack->position].dead.push_back(stack);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user