summaryrefslogtreecommitdiff
path: root/src/compoundsprite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundsprite.cpp')
-rw-r--r--src/compoundsprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compoundsprite.cpp b/src/compoundsprite.cpp
index fe724e170..4f8333525 100644
--- a/src/compoundsprite.cpp
+++ b/src/compoundsprite.cpp
@@ -193,7 +193,7 @@ const Image* CompoundSprite::getImage() const
return mImage;
}
-bool CompoundSprite::setDirection(SpriteDirection direction)
+bool CompoundSprite::setSpriteDirection(SpriteDirection direction)
{
bool ret = false;
@@ -201,7 +201,7 @@ bool CompoundSprite::setDirection(SpriteDirection direction)
for (it = begin(), it_end = end(); it != it_end; ++it)
{
if (*it)
- ret |= (*it)->setDirection(direction);
+ ret |= (*it)->setSpriteDirection(direction);
}
mNeedsRedraw |= ret;