Fix some timer calls

This commit is contained in:
Sergeanur
2021-05-28 09:44:09 +03:00
parent a11bf19b93
commit 68b5270fe4
4 changed files with 5 additions and 5 deletions

View File

@ -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;