diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-27 21:37:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-27 21:37:03 +0300 |
commit | c18d789b35f29611c88d0e3bdbb5619500ea7a2a (patch) | |
tree | cdc7e6d57305bba43859b5a669df1e975220dc3f /src/resources/sprite/animationdelayload.cpp | |
parent | 6ed4f7f09a297e9afb829634399c94ccc542729e (diff) | |
download | manaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.tar.gz manaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.tar.bz2 manaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.tar.xz manaverse-c18d789b35f29611c88d0e3bdbb5619500ea7a2a.zip |
Move spritedef load function from resourcemanager into separate file.
Diffstat (limited to 'src/resources/sprite/animationdelayload.cpp')
-rw-r--r-- | src/resources/sprite/animationdelayload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/sprite/animationdelayload.cpp b/src/resources/sprite/animationdelayload.cpp index fa33ff5f5..838dad42d 100644 --- a/src/resources/sprite/animationdelayload.cpp +++ b/src/resources/sprite/animationdelayload.cpp @@ -22,7 +22,7 @@ #include "const/resources/spriteaction.h" -#include "resources/resourcemanager/resourcemanager.h" +#include "resources/loaders/spritedefloader.h" #include "resources/sprite/animatedsprite.h" @@ -56,7 +56,7 @@ void AnimationDelayLoad::load() { if (mSprite) { - SpriteDef *const s = resourceManager->getSprite(mFileName, mVariant); + SpriteDef *const s = Loader::getSprite(mFileName, mVariant); if (!s) return; mSprite->setSprite(s); |