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 {
142142 // / Sets how much progress has been made toward the set time limit previously set by SetRealTimeLimitMS.
143143 // / 0 means no progress, 1.0 means the timer is at the limit, greater is beyond the limit.
144144 // / @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)); }
146146
147147 // / Returns true or false, depending on whether the elapsed time falls in one of two repeating intervals which divide it.
148148 // / This is useful for blink animations etc.
@@ -236,7 +236,7 @@ namespace RTE {
236236 // / Sets how much progress has been made toward the set time limit previously set by SetSimTimeLimitMS.
237237 // / 0 means no progress, 1.0 means the timer is at the limit, greater is beyond the limit.
238238 // / @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)); }
240240
241241 // / Returns true or false, depending on whether the elapsed time falls in one of two repeating intervals which divide it.
242242 // / This is useful for blink animations etc.
You can’t perform that action at this time.
0 commit comments