From d0cd9f3bf62ad8b96340c2c075688ae8fa7f0ab1 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Thu, 17 Mar 2005 04:31:12 +0000 Subject: [PATCH] Prevent some unnecessary time checking --- stepmania/src/RageTimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageTimer.cpp b/stepmania/src/RageTimer.cpp index c829606ea5..4591fa19a8 100644 --- a/stepmania/src/RageTimer.cpp +++ b/stepmania/src/RageTimer.cpp @@ -98,7 +98,7 @@ RageTimer RageTimer::Sum(const RageTimer &lhs, float tm) int seconds = (int) floorf(tm); int us = int( (tm - seconds) * TIMESTAMP_RESOLUTION ); - RageTimer ret; + RageTimer ret(0,0); // Prevent unnecessarily checking the time ret.m_secs = seconds + lhs.m_secs; ret.m_us = us + lhs.m_us;