fix warning (atof returns a double, not a float)

This commit is contained in:
Glenn Maynard
2005-02-16 02:42:57 +00:00
parent 69383384bf
commit b8605eebf0
+1 -1
View File
@@ -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 )