From 394d6e0677de7d0dfde032e8f80ac70b6b1285f9 Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Mon, 28 Nov 2016 18:53:08 +0300 Subject: [PATCH] Fixed random crash on resurrection --- lib/NetPacksLib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NetPacksLib.cpp b/lib/NetPacksLib.cpp index e304f8021..f7ebe6197 100644 --- a/lib/NetPacksLib.cpp +++ b/lib/NetPacksLib.cpp @@ -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); }