File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ namespace RTE {
142
142
// / Sets how much progress has been made toward the set time limit previously set by SetRealTimeLimitMS.
143
143
// / 0 means no progress, 1.0 means the timer is at the limit, greater is beyond the limit.
144
144
// / @param progress A normalized scalar between 0.0 - 1.0 of the progress toward the limit.
145
- void SetRealTimeLimitProgress (double progress) { m_StartRealTime = g_TimerMan.GetSimTickCount () - static_cast <long long >(round (m_RealTimeLimit * progress)); }
145
+ void SetRealTimeLimitProgress (double progress) { m_StartRealTime = g_TimerMan.GetSimTickCount () - static_cast <long long >(std:: round (m_RealTimeLimit * progress)); }
146
146
147
147
// / Returns true or false, depending on whether the elapsed time falls in one of two repeating intervals which divide it.
148
148
// / This is useful for blink animations etc.
@@ -236,7 +236,7 @@ namespace RTE {
236
236
// / Sets how much progress has been made toward the set time limit previously set by SetSimTimeLimitMS.
237
237
// / 0 means no progress, 1.0 means the timer is at the limit, greater is beyond the limit.
238
238
// / @param progress A normalized scalar between 0.0 - 1.0 of the progress toward the limit.
239
- void SetSimTimeLimitProgress (double progress) { m_StartSimTime = g_TimerMan.GetSimTickCount () - static_cast <long long >(round (m_SimTimeLimit * progress)); }
239
+ void SetSimTimeLimitProgress (double progress) { m_StartSimTime = g_TimerMan.GetSimTickCount () - static_cast <long long >(std:: round (m_SimTimeLimit * progress)); }
240
240
241
241
// / Returns true or false, depending on whether the elapsed time falls in one of two repeating intervals which divide it.
242
242
// / This is useful for blink animations etc.
You can’t perform that action at this time.
0 commit comments