From d470fe11fe9c66d910722394938d0cd330429902 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 16 Feb 2005 03:45:28 +0000 Subject: [PATCH] fix assertion failure: SetSelections and GetSelections (currently) take no "self" parameter--you can store the table index in an upvalue if you need it. (I havn't worked with this enough, yet, to tell which method is better ...) --- stepmania/src/ScreenOptionsMaster.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/stepmania/src/ScreenOptionsMaster.cpp b/stepmania/src/ScreenOptionsMaster.cpp index 7b58e197f2..efac7a2f76 100644 --- a/stepmania/src/ScreenOptionsMaster.cpp +++ b/stepmania/src/ScreenOptionsMaster.cpp @@ -692,9 +692,6 @@ int ScreenOptionsMaster::ExportOption( const OptionRowDefinition &row, const Opt if( !lua_isfunction( LUA->L, -1 ) ) RageException::Throw( "\"%s\" \"SetSelections\" entry is not a function", row.name.c_str() ); - /* Push self. */ - hand.m_LuaTable.PushSelf( LUA->L ); - /* Argument 1 (vbSelectedOut): */ lua_pushvalue( LUA->L, 1 );