summaryrefslogtreecommitdiff
path: root/src/animationdelayload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/animationdelayload.cpp')
-rw-r--r--src/animationdelayload.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animationdelayload.cpp b/src/animationdelayload.cpp
index fa979d864..c52355963 100644
--- a/src/animationdelayload.cpp
+++ b/src/animationdelayload.cpp
@@ -55,8 +55,7 @@ void AnimationDelayLoad::load()
{
if (mSprite)
{
- ResourceManager *const resman = ResourceManager::getInstance();
- SpriteDef *const s = resman->getSprite(mFileName, mVariant);
+ SpriteDef *const s = resourceManager->getSprite(mFileName, mVariant);
if (!s)
return;
mSprite->setSprite(s);