summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 5b9e4496d..bfd06f2f0 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -1003,7 +1003,7 @@ void Being::setDirection(Uint8 direction)
}
mSpriteDirection = dir;
- CompoundSprite::setDirection(dir);
+ CompoundSprite::setSpriteDirection(dir);
}
Uint8 Being::calcDirection() const
@@ -1567,7 +1567,7 @@ void Being::setSprite(unsigned int slot, int id, std::string color,
}
if (equipmentSprite)
- equipmentSprite->setDirection(getSpriteDirection());
+ equipmentSprite->setSpriteDirection(getSpriteDirection());
CompoundSprite::setSprite(slot, equipmentSprite);