From b863eef79a247091c150a5cf86b9e0b9b63e38c2 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 17 Oct 2006 08:41:33 +0000 Subject: [PATCH] Difficulty. Remove unused deprecated. --- stepmania/src/Trail.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stepmania/src/Trail.cpp b/stepmania/src/Trail.cpp index 83979caf1e..d6d6af18d1 100644 --- a/stepmania/src/Trail.cpp +++ b/stepmania/src/Trail.cpp @@ -191,8 +191,7 @@ bool Trail::ContainsSong( Song* pSong ) const class LunaTrail: public Luna { public: - static int GetDifficulty( T* p, lua_State *L ) { lua_pushnumber(L, p->m_CourseDifficulty ); return 1; } - static int GetCourseDifficulty( T* p, lua_State *L ) { lua_pushnumber(L, p->m_CourseDifficulty ); return 1; } // deprecated + static int GetDifficulty( T* p, lua_State *L ) { LuaHelpers::Push(L, p->m_CourseDifficulty ); return 1; } static int GetStepsType( T* p, lua_State *L ) { lua_pushnumber(L, p->m_StepsType ); return 1; } static int GetRadarValues( T* p, lua_State *L ) { @@ -233,7 +232,6 @@ public: LunaTrail() { ADD_METHOD( GetDifficulty ); - ADD_METHOD( GetCourseDifficulty ); ADD_METHOD( GetStepsType ); ADD_METHOD( GetRadarValues ); ADD_METHOD( GetArtists );