From 74c07d8c91fe3b154534d5f7f58d0e2b36635318 Mon Sep 17 00:00:00 2001 From: Flameshadowxeroshin Date: Tue, 27 Mar 2012 23:20:56 +0000 Subject: [PATCH] remove the brokenest parts of SetScore for now --- src/PlayerStageStats.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/src/PlayerStageStats.cpp b/src/PlayerStageStats.cpp index b4b418de05..3730dfcf78 100644 --- a/src/PlayerStageStats.cpp +++ b/src/PlayerStageStats.cpp @@ -742,34 +742,6 @@ public: static int GetRadarPossible( T* p, lua_State *L ) { p->m_radarPossible.PushSelf(L); return 1; } static int GetRadarActual( T* p, lua_State *L ) { p->m_radarActual.PushSelf(L); return 1; } - static int SetCurCombo( T* p, lua_State *L ) - { - int arg; - arg = IArg(1); - if( arg >= 0 ) - { - p->m_iCurMissCombo = 0; - p->m_iCurCombo = arg; - if ( arg > m_iCurMaxCombo ) - p->m_iCurMaxCombo = arg; - return 1; - } - return 0; - } - static int SetCurMissCombo( T* p, lua_State *L) - { - int arg; - arg = IArg(1); - if( arg >= 0 ) - { - p->m_iCurCombo = 0; - if( arg > 0 ) - p->m_bPlayerCanAchieveFullCombo = false; - p->m_iCurMissCombo = arg; - return 1; - } - return 0; - } static int SetScore( T* p, lua_State *L ) { if( IArg(1) >= 0 ) @@ -829,8 +801,6 @@ public: ADD_METHOD( SetScore ); ADD_METHOD( GetCurMaxScore ); ADD_METHOD( SetCurMaxScore ); - ADD_METHOD( SetCurCombo ); - ADD_METHOD( SetCurMissCombo ); } };