1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 22:18:30 +02: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)
{
m_music = Mix_LoadMUS_RW(rw, 1);
m_isValid = true;
if (m_music == NULL)
{
vlog_error("Unable to load Magic Binary Music file: %s", Mix_GetError());
m_isValid = false;
}
}
@ -76,7 +74,6 @@ public:
private:
Mix_Music *m_music;
bool m_isValid;
};
class SoundTrack