From d9bfa15a3503486e9af4f969817810b6be064bb1 Mon Sep 17 00:00:00 2001 From: DavideRei <118212274+DavideRei@users.noreply.github.com> Date: Wed, 11 Dec 2024 07:52:29 +0100 Subject: [PATCH] Char tick update workaround --- src/game/CWorldTicker.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/CWorldTicker.cpp b/src/game/CWorldTicker.cpp index 659c4e4cc..3efc97708 100644 --- a/src/game/CWorldTicker.cpp +++ b/src/game/CWorldTicker.cpp @@ -226,8 +226,8 @@ void CWorldTicker::AddCharTicking(CChar* pChar, bool fNeedsLock) iTickOld = pChar->_iTimePeriodicTick; } - if (iTickNext == iTickOld) - { + //if (iTickNext == iTickOld) + //{ /* #ifdef _DEBUG auto it = std::find_if(_mCharTickList.begin(), _mCharTickList.end(), @@ -237,8 +237,8 @@ void CWorldTicker::AddCharTicking(CChar* pChar, bool fNeedsLock) DEBUG_ASSERT(it == _mCharTickList.end()); #endif */ - return; - } + // return; + //} //if (iTickNext < CWorldGameTime::GetCurrentTime().GetTimeRaw()) // We do that to get them tick as sooner as possible // return;