mirror of
https://github.com/halpz/re3.git
synced 2025-07-23 22:49:45 +00:00
Fix some timer calls
This commit is contained in:
@ -108,7 +108,7 @@ void COnscreenTimerEntry::Process() {
|
||||
|
||||
int32* timerPtr = CTheScripts::GetPointerToScriptVariable(m_nTimerOffset);
|
||||
int32 oldTime = *timerPtr;
|
||||
int32 newTime = oldTime - int32(CTimer::GetTimeStepInSeconds() * 1000);
|
||||
int32 newTime = oldTime - int32(CTimer::GetTimeStepInMilliseconds());
|
||||
if(newTime < 0) {
|
||||
*timerPtr = 0;
|
||||
m_bTimerProcessed = 0;
|
||||
|
Reference in New Issue
Block a user