remove the brokenest parts of SetScore for now

This commit is contained in:
Flameshadowxeroshin
2012-03-27 23:20:56 +00:00
parent 4274d999f9
commit 74c07d8c91
-30
View File
@@ -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 );
}
};