summaryrefslogtreecommitdiff
path: root/src/core/Timer.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-04-19 18:34:08 +0200
committerFilip Gawin <filip.gawin@zoho.com>2020-04-20 18:18:46 +0200
commit370c4e48cd87122e8d38f1a72f6b8f62ff7b9c96 (patch)
tree5f5c66a542d7a121a7db88fed66e31f2a263b206 /src/core/Timer.cpp
parent0f07a323c9a0a97429c551808a38249a6b8ad1ff (diff)
Try to build with mingw
Diffstat (limited to 'src/core/Timer.cpp')
-rw-r--r--src/core/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Timer.cpp b/src/core/Timer.cpp
index ebd79695..8f8570d7 100644
--- a/src/core/Timer.cpp
+++ b/src/core/Timer.cpp
@@ -138,7 +138,7 @@ void CTimer::Update(void)
if ( !CRecordDataForGame::IsPlayingBack() )
{
- ms_fTimeStep = min(3.0f, ms_fTimeStep);
+ ms_fTimeStep = Min(3.0f, ms_fTimeStep);
if ( (m_snTimeInMilliseconds - m_snPreviousTimeInMilliseconds) > 60 )
m_snTimeInMilliseconds = m_snPreviousTimeInMilliseconds + 60;