From 29093a53088c3e1049cc43939a5b8ce506e64f3a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 12 Jan 2004 22:13:36 +0000 Subject: [PATCH] fix warning --- stepmania/src/RageSound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index 82eaeeeafb..80440e0fef 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -512,7 +512,7 @@ void RageSound::StartPlaying() /* If StartTime is in the past, then we probably set a start time but took too * long loading. We don't want that; log it, since it can be unobvious. */ - if( StartTime.Ago() > 0 ) + if( !StartTime.IsZero() && StartTime.Ago() > 0 ) LOG->Trace("Sound \"%s\" has a start time %f seconds in the past", GetLoadedFilePath().c_str(), StartTime.Ago() );