diff --git a/desktop_version/src/SoundSystem.cpp b/desktop_version/src/SoundSystem.cpp index 0727ecdc..5f7c0d1e 100644 --- a/desktop_version/src/SoundSystem.cpp +++ b/desktop_version/src/SoundSystem.cpp @@ -5,17 +5,6 @@ #include "FileSystemUtils.h" #include "Vlogging.h" -MusicTrack::MusicTrack(const char* fileName) -{ - m_music = Mix_LoadMUS(fileName); - m_isValid = true; - if(m_music == NULL) - { - vlog_error("Unable to load Ogg Music file: %s", Mix_GetError()); - m_isValid = false; - } -} - MusicTrack::MusicTrack(SDL_RWops *rw) { m_music = Mix_LoadMUS_RW(rw, 1); diff --git a/desktop_version/src/SoundSystem.h b/desktop_version/src/SoundSystem.h index 56eac366..e4bf49a5 100644 --- a/desktop_version/src/SoundSystem.h +++ b/desktop_version/src/SoundSystem.h @@ -6,7 +6,6 @@ class MusicTrack { public: - MusicTrack(const char* fileName); MusicTrack(SDL_RWops *rw); Mix_Music *m_music; bool m_isValid;