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:
parent
d36741fa07
commit
5202b80a3d
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue