diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-08 22:06:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-08 22:06:08 +0300 |
commit | 907a1cfc8a5fe0ee58bdd18582fddb31f08af3b4 (patch) | |
tree | 328d10370b815beaf3222b4f832ead056ed59e32 /src/resources/loaders/walklayerloader.cpp | |
parent | fd3223578c0a0789627a92cc63235c24e75f87c3 (diff) | |
download | mv-907a1cfc8a5fe0ee58bdd18582fddb31f08af3b4.tar.gz mv-907a1cfc8a5fe0ee58bdd18582fddb31f08af3b4.tar.bz2 mv-907a1cfc8a5fe0ee58bdd18582fddb31f08af3b4.tar.xz mv-907a1cfc8a5fe0ee58bdd18582fddb31f08af3b4.zip |
Use unique keys for different resource types in cache.
Diffstat (limited to 'src/resources/loaders/walklayerloader.cpp')
-rw-r--r-- | src/resources/loaders/walklayerloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/loaders/walklayerloader.cpp b/src/resources/loaders/walklayerloader.cpp index 99d7a251f..bfbee82ab 100644 --- a/src/resources/loaders/walklayerloader.cpp +++ b/src/resources/loaders/walklayerloader.cpp @@ -58,7 +58,7 @@ WalkLayer *Loader::getWalkLayer(const std::string &name, Map *const map) { WalkLayerLoader rl = {name, map}; - return static_cast<WalkLayer*>(ResourceManager::get("map_" + name, + return static_cast<WalkLayer*>(ResourceManager::get("walklayer_" + name, WalkLayerLoader::load, &rl)); } #else // DYECMD |