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:
parent
b6198b9b2d
commit
f43dbe74e2
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue