(float) atof() -> strtof(), which computes in float instead of computing in

double and casting to float, which is silly
This commit is contained in:
Glenn Maynard
2004-08-10 20:57:59 +00:00
parent 9db234c181
commit aad73b53e9
16 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ bool UnlockSystem::Load()
LOG->Trace("UnlockTypes line: %s", UnlockTypes[j].c_str() );
const float fVal = (float) atof( readparam[1] );
const float fVal = strtof( readparam[1], NULL );
const int iVal = atoi( readparam[1] );
const UnlockType ut = StringToUnlockType( unlock_type );