1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-04 18:29:41 +01:00

Remove unused m_isValid value from MusicTrack

This commit is contained in:
Ethan Lee 2022-01-14 16:56:00 -05:00
parent d36741fa07
commit 5202b80a3d

View file

@ -26,11 +26,9 @@ public:
MusicTrack(SDL_RWops *rw) MusicTrack(SDL_RWops *rw)
{ {
m_music = Mix_LoadMUS_RW(rw, 1); m_music = Mix_LoadMUS_RW(rw, 1);
m_isValid = true;
if (m_music == NULL) if (m_music == NULL)
{ {
vlog_error("Unable to load Magic Binary Music file: %s", Mix_GetError()); vlog_error("Unable to load Magic Binary Music file: %s", Mix_GetError());
m_isValid = false;
} }
} }
@ -76,7 +74,6 @@ public:
private: private:
Mix_Music *m_music; Mix_Music *m_music;
bool m_isValid;
}; };
class SoundTrack class SoundTrack