m_iStagesForSong -> m_iMaxStagesForSong

This commit is contained in:
Chris Danford
2007-02-23 19:31:42 +00:00
parent 2bfc4f77e5
commit b407c58176
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ bool SongCriteria::Matches( const Song *pSong ) const
return false;
}
if( m_iStagesForSong != -1 && SONGMAN->GetNumStagesForSong(pSong) != m_iStagesForSong )
if( m_iMaxStagesForSong != -1 && GAMESTATE->GetNumStagesForSong(pSong) > m_iMaxStagesForSong )
return false;
switch( m_Tutorial )
+3 -3
View File
@@ -20,7 +20,7 @@ public:
enum Selectable { Selectable_Yes, Selectable_No, Selectable_DontCare } m_Selectable;
bool m_bUseSongAllowedList;
vector<Song*> m_vpSongAllowedList;
int m_iStagesForSong; // don't filter if -1
int m_iMaxStagesForSong; // don't filter if -1
enum Tutorial { Tutorial_Yes, Tutorial_No, Tutorial_DontCare } m_Tutorial;
enum Locked { Locked_Locked, Locked_Unlocked, Locked_DontCare } m_Locked;
@@ -29,7 +29,7 @@ public:
m_bUseSongGenreAllowedList = false;
m_Selectable = Selectable_DontCare;
m_bUseSongAllowedList = false;
m_iStagesForSong = -1;
m_iMaxStagesForSong = -1;
m_Tutorial = Tutorial_DontCare;
m_Locked = Locked_DontCare;
}
@@ -45,7 +45,7 @@ public:
X(m_Selectable) &&
X(m_bUseSongAllowedList) &&
X(m_vpSongAllowedList) &&
X(m_iStagesForSong) &&
X(m_iMaxStagesForSong) &&
X(m_Tutorial) &&
X(m_Locked);
#undef X