fix warning (atof returns a double, not a float)
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user