From 5cdf0e8d7ecf89c582f4a36c7c3daa8452b25123 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 13 Oct 2006 03:34:44 +0000 Subject: [PATCH] Don't set globals for params. This was previously used for filenames. Use P.name. --- stepmania/src/ActorUtil.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index df82e5d197..9f3b6f5bd5 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -150,12 +150,6 @@ void ActorUtil::SetParamFromStack( Lua *L, RString sName, LuaReference *pOld ) pOld->SetFromStack( L ); } - /* Backwards-compatibility: set the value as a global. This is strongly - * deprecated. */ - lua_pushvalue( L, iName ); - lua_pushvalue( L, iValue ); - lua_rawset( L, LUA_GLOBALSINDEX ); - /* Set the value in the table. */ lua_pushvalue( L, iName ); lua_pushvalue( L, iValue );