From 3a5de2fe6736106d2fadcac8818ab3e7b8e0fe53 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 24 Apr 2005 19:27:30 +0000 Subject: [PATCH] cleanup --- stepmania/src/Course.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 5946c2012a..18aa36e20e 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -135,7 +135,7 @@ void Course::LoadFromCRSFile( CString sPath ) m_iLives = atoi( sParams[1] ); else if( 0 == stricmp(sValueName, "GAINSECONDS") ) - fGainSeconds = (float)atof( sParams[1] ); + fGainSeconds = strtof( sParams[1], NULL ); else if( 0 == stricmp(sValueName, "METER") ) {