diff --git a/stepmania/src/GameCommand.cpp b/stepmania/src/GameCommand.cpp index a5f79f7735..66b04c78de 100644 --- a/stepmania/src/GameCommand.cpp +++ b/stepmania/src/GameCommand.cpp @@ -35,7 +35,6 @@ void GameCommand::Init() m_sText = ""; m_bInvalid = true; m_iIndex = -1; - m_bHasFocus = false; m_MultiPlayer = MultiPlayer_Invalid; m_pStyle = NULL; m_pm = PlayMode_Invalid; @@ -820,7 +819,6 @@ public: static int GetName( T* p, lua_State *L ) { lua_pushstring(L, p->m_sName ); return 1; } static int GetText( T* p, lua_State *L ) { lua_pushstring(L, p->m_sText ); return 1; } static int GetIndex( T* p, lua_State *L ) { lua_pushnumber(L, p->m_iIndex ); return 1; } - static int GetHasFocus( T* p, lua_State *L ) { lua_pushboolean(L, p->m_bHasFocus ); return 1; } static int GetMultiPlayer( T* p, lua_State *L ) { lua_pushnumber(L, p->m_MultiPlayer); return 1; } static int GetProfileID( T* p, lua_State *L ) { lua_pushstring(L, p->m_sProfileID ); return 1; } static int GetSong( T* p, lua_State *L ) { if(p->m_pSong==NULL) lua_pushnil(L); else p->m_pSong->PushSelf(L); return 1; } @@ -831,7 +829,6 @@ public: ADD_METHOD( GetName ); ADD_METHOD( GetText ); ADD_METHOD( GetIndex ); - ADD_METHOD( GetHasFocus ); ADD_METHOD( GetMultiPlayer ); ADD_METHOD( GetProfileID ); ADD_METHOD( GetSong ); diff --git a/stepmania/src/GameCommand.h b/stepmania/src/GameCommand.h index ecf0dba236..c4f89ae7fc 100644 --- a/stepmania/src/GameCommand.h +++ b/stepmania/src/GameCommand.h @@ -53,7 +53,6 @@ public: bool m_bInvalid; RString m_sInvalidReason; int m_iIndex; - bool m_bHasFocus; MultiPlayer m_MultiPlayer; const Style* m_pStyle; PlayMode m_pm;