Skip to content

Commit

Permalink
Merge pull request #1355 from DavideRei/dev
Browse files Browse the repository at this point in the history
Char tick update workaround
  • Loading branch information
raydienull authored Dec 13, 2024
2 parents 4db2d5e + d9bfa15 commit 170673f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/game/CWorldTicker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand All @@ -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;
Expand Down

0 comments on commit 170673f

Please sign in to comment.