diff options
Diffstat (limited to 'src/animatedsprite.h')
-rw-r--r-- | src/animatedsprite.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.h b/src/animatedsprite.h index 2c7d589f..05c73ddd 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -87,7 +87,7 @@ class AnimatedSprite final : public Sprite int mFrameIndex = 0; /**< The index of the current frame. */ int mFrameTime = 0; /**< The time since start of frame. */ - SpriteDef *mSprite; /**< The sprite definition. */ + ResourceRef<SpriteDef> mSprite; /**< The sprite definition. */ Action *mAction = nullptr; /**< The currently active action. */ Animation *mAnimation = nullptr; /**< The currently active animation. */ Frame *mFrame = nullptr; /**< The currently active frame. */ |