Don't search globals.

This commit is contained in:
Glenn Maynard
2006-10-13 03:35:24 +00:00
parent 5cdf0e8d7e
commit f9c5cca641
-7
View File
@@ -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 )