mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fixed random crash on resurrection
This commit is contained in:
parent
a1b7c9d8d2
commit
394d6e0677
@ -1612,7 +1612,7 @@ DLL_LINKAGE void StacksHealedOrResurrected::applyGs(CGameState *gs)
|
||||
if(resurrected)
|
||||
{
|
||||
if(changedStack->count > 0 || changedStack->firstHPleft > 0)
|
||||
logGlobal->warn("Dead stack %s with positive total HP", changedStack->nodeName(), changedStack->totalHealth());
|
||||
logGlobal->warn("Dead stack %s with positive total HP %d", changedStack->nodeName(), changedStack->totalHealth());
|
||||
|
||||
changedStack->state.insert(EBattleStackState::ALIVE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user