code names are strings, not ints, so this isn't a hack anymore

This commit is contained in:
Glenn Maynard
2006-10-11 01:19:38 +00:00
parent 83b2e25cc5
commit a55e52e0d8
-3
View File
@@ -437,9 +437,6 @@ void UnlockManager::Load()
}
else if( sName == "code" )
{
// Hack: Lua only has a floating point type, and codes may be big enough
// that converting them from string to float to int introduces rounding
// error. Convert directly to int.
current.m_sEntryID = (RString)cmd.GetArg(1);
}
else if( sName == "roulette" )