diff --git a/stepmania/src/LuaManager.cpp b/stepmania/src/LuaManager.cpp index 4fcfe26eb1..e8bc2639e8 100644 --- a/stepmania/src/LuaManager.cpp +++ b/stepmania/src/LuaManager.cpp @@ -395,7 +395,7 @@ float LuaManager::RunAtExpressionF( const CString &_sStr ) CString sOut; RunExpressionS( sStr, sOut ); - return atof( sOut ); + return strtof( sOut, NULL ); } void LuaManager::Fail( const CString &err )