diff options
Diffstat (limited to 'src/resources/loaders/musicloader.cpp')
-rw-r--r-- | src/resources/loaders/musicloader.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/resources/loaders/musicloader.cpp b/src/resources/loaders/musicloader.cpp index 837befcf9..49ef40ef0 100644 --- a/src/resources/loaders/musicloader.cpp +++ b/src/resources/loaders/musicloader.cpp @@ -21,7 +21,6 @@ */ #include "resources/sdlmusic.h" -#include "resources/soundeffect.h" #include "resources/loaders/musicloader.h" @@ -64,10 +63,3 @@ SDLMusic *Loader::getMusic(const std::string &idPath) return static_cast<SDLMusic*>(resourceManager->get( idPath, ResourceLoader::load, &rl)); } - -SoundEffect *Loader::getSoundEffect(const std::string &idPath) -{ - ResourceLoader rl = { idPath, &SoundEffect::load }; - return static_cast<SoundEffect*>(resourceManager->get( - idPath, ResourceLoader::load, &rl)); -} |