From f43dbe74e2a6fb6042ccb5125a825fc7bdf0bc0a Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 03:33:59 +0000 Subject: [PATCH] Decompile fn_24181 (CSession::CheckInterval) Batch #12954 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_24181 CSession::CheckInterval: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Client/Session.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Client/Session.cpp b/Source/Client/Session.cpp index 7ed24e93..699c96b0 100644 --- a/Source/Client/Session.cpp +++ b/Source/Client/Session.cpp @@ -164,12 +164,12 @@ bool CSession::IsEffectRenderEnabled() const { // FUNCTION: fn_24181 bool CSession::CheckInterval(long long interval) { const int now = static_cast(timeGetTime()); - if (now < this->m_lastIntervalTime + interval) { - return false; + if (now >= this->m_lastIntervalTime + interval) { + this->m_lastIntervalTime = now; + return true; } - this->m_lastIntervalTime = now; - return true; + return false; } // OFFSET: 0x00E3D0F0