remove unused

This commit is contained in:
Glenn Maynard
2006-08-02 04:50:29 +00:00
parent 47e601cd4a
commit 21cd26308e
2 changed files with 0 additions and 15 deletions
-14
View File
@@ -86,20 +86,6 @@ void LuaManager::SetGlobal( const RString &sName, const RString &val )
LUA->Release(L);
}
void LuaManager::SetGlobalFromExpression( const RString &sName, const RString &expr )
{
Lua *L = LUA->Get();
if( !LuaHelpers::RunScript(L, "return " + expr, "", 1) )
{
LUA->Release(L);
return;
}
lua_setglobal( L, sName );
LUA->Release(L);
}
void LuaManager::UnsetGlobal( const RString &sName )
{
Lua *L = LUA->Get();