More effective fixes.

Course playing still results in it playing fine.
This commit is contained in:
Jason Felds
2011-03-19 18:26:55 -04:00
parent 3dcdf67666
commit 22b7b34897
19 changed files with 72 additions and 55 deletions
+4 -3
View File
@@ -47,8 +47,9 @@ public:
} m_Locked;
/** @brief Set up some initial song criteria. */
SongCriteria(): m_sGroupName(""), m_bUseSongGenreAllowedList(false),
m_Selectable(Selectable_DontCare), m_bUseSongAllowedList(false),
SongCriteria(): m_sGroupName(""), m_bUseSongGenreAllowedList(false),
m_vsSongGenreAllowedList(), m_Selectable(Selectable_DontCare),
m_bUseSongAllowedList(false), m_vpSongAllowedList(),
m_iMaxStagesForSong(-1), m_Tutorial(Tutorial_DontCare),
m_Locked(Locked_DontCare)
{
@@ -182,7 +183,7 @@ public:
* @brief Set up the SongID with default values.
*
* This used to call Unset() to do the same thing. */
SongID(): sDir("") { m_Cache.Unset(); }
SongID(): sDir(""), m_Cache() { m_Cache.Unset(); }
void Unset() { FromSong(NULL); }
void FromSong( const Song *p );
Song *ToSong() const;