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 ...)
This commit is contained in:
Glenn Maynard
2005-02-16 03:45:28 +00:00
parent 51d23bb03c
commit d470fe11fe
-3
View File
@@ -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 );