Remove recursion. Make it public.
This commit is contained in:
+1
-1
@@ -1653,7 +1653,7 @@ public:
|
||||
else
|
||||
{
|
||||
Course *pC = Luna<Course>::check( L, 1, true );
|
||||
lua_pushboolean( L, p->TrySelectCourse( pC ) );
|
||||
lua_pushboolean( L, p->SelectCourse( pC ) );
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
+1
-2
@@ -38,7 +38,7 @@ public:
|
||||
Song *GetPreferredSelectionForRandomOrPortal();
|
||||
|
||||
bool SelectSong( const Song *p );
|
||||
bool TrySelectCourse( const Course *p ){ return TrySelectCourse(p); }
|
||||
bool SelectCourse( const Course *p );
|
||||
bool SelectSection( const RString & SectionName );
|
||||
void SetOpenSection( RString group );
|
||||
SortOrder GetSortOrder() const { return m_SortOrder; }
|
||||
@@ -58,7 +58,6 @@ protected:
|
||||
|
||||
void GetSongList( vector<Song*> &arraySongs, SortOrder so );
|
||||
bool SelectSongOrCourse();
|
||||
bool SelectCourse( const Course *p );
|
||||
bool SelectModeMenuItem();
|
||||
|
||||
virtual void UpdateSwitch();
|
||||
|
||||
Reference in New Issue
Block a user