1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Rename DEAD_CLONE -> GHOST, as this will be possible for any stack

This commit is contained in:
AlexVinS
2016-02-28 00:13:34 +03:00
parent d2a5e64542
commit 5d5ad99436
4 changed files with 10 additions and 10 deletions

View File

@@ -5610,7 +5610,7 @@ void CGameHandler::runBattle()
std::set <const CStack*> stacksToRemove;
for (auto stack : curB.stacks)
{
if (stack->idDeadClone())
if (stack->isGhost())
stacksToRemove.insert(stack);
}
for (auto stack : stacksToRemove)