From 907a1cfc8a5fe0ee58bdd18582fddb31f08af3b4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Apr 2017 22:06:08 +0300 Subject: Use unique keys for different resource types in cache. --- src/resources/loaders/musicloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/loaders/musicloader.cpp') diff --git a/src/resources/loaders/musicloader.cpp b/src/resources/loaders/musicloader.cpp index 0d482b8a6..1e5ceaff7 100644 --- a/src/resources/loaders/musicloader.cpp +++ b/src/resources/loaders/musicloader.cpp @@ -79,5 +79,5 @@ SDLMusic *Loader::getMusic(const std::string &idPath) { ResourceLoader rl = { idPath }; return static_cast(ResourceManager::get( - idPath, ResourceLoader::load, &rl)); + "music_" + idPath, ResourceLoader::load, &rl)); } -- cgit v1.2.3-70-g09d2