From f9c5cca641b414195449666d436b0577a67b5b6e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 13 Oct 2006 03:35:24 +0000 Subject: [PATCH] Don't search globals. --- stepmania/src/ActorUtil.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/stepmania/src/ActorUtil.cpp b/stepmania/src/ActorUtil.cpp index 9f3b6f5bd5..08e48518a3 100644 --- a/stepmania/src/ActorUtil.cpp +++ b/stepmania/src/ActorUtil.cpp @@ -166,13 +166,6 @@ void ActorUtil::GetParam( Lua *L, const RString &sName ) LuaHelpers::Push( L, sName ); lua_rawget( L, -2 ); lua_remove( L, -2 ); - - if( lua_isnil(L, -1) ) - { - /* Deprecated: search globals. */ - lua_pop( L, 1 ); - lua_getglobal( L, sName ); - } } Actor* ActorUtil::LoadFromNode( const XNode* pNode, Actor *pParentActor )