From 050ee5d7bb27673d9656a3c8a0729ac04b325082 Mon Sep 17 00:00:00 2001 From: obligaron Date: Sat, 8 May 2021 21:39:48 +0200 Subject: [PATCH] ADL: Bugfix hero flicker when Diablo is killed --- Source/nthread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/nthread.cpp b/Source/nthread.cpp index c437d6146..9c97ec6e7 100644 --- a/Source/nthread.cpp +++ b/Source/nthread.cpp @@ -247,7 +247,7 @@ bool nthread_has_500ms_passed() void nthread_UpdateProgressToNextGameTick() { - if (!gbRunGame || PauseMode || (!gbIsMultiplayer && gmenu_is_active())) // if game is not running or paused there is no next gametick in the near future + if (!gbRunGame || PauseMode || (!gbIsMultiplayer && gmenu_is_active()) || !gbProcessPlayers) // if game is not running or paused there is no next gametick in the near future return; int currentTickCount = SDL_GetTicks(); int ticksElapsed = last_tick - currentTickCount;