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.
This commit is contained in:
ragnarok-clanker 2026-11-06 03:33:59 +00:00
commit f43dbe74e2

View file

@ -164,12 +164,12 @@ bool CSession::IsEffectRenderEnabled() const {
// FUNCTION: fn_24181
bool CSession::CheckInterval(long long interval) {
const int now = static_cast<int>(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