From a55e52e0d8a6c192eb02b3e44dbb52035c3a554d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 11 Oct 2006 01:19:38 +0000 Subject: [PATCH] code names are strings, not ints, so this isn't a hack anymore --- stepmania/src/UnlockManager.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/stepmania/src/UnlockManager.cpp b/stepmania/src/UnlockManager.cpp index c768df5772..52549b96cd 100644 --- a/stepmania/src/UnlockManager.cpp +++ b/stepmania/src/UnlockManager.cpp @@ -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" )