summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-18 23:21:31 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-18 23:21:31 +0300
commitb5589bc5a7f426fa067e3800db1b138852c75286 (patch)
tree1d73adc5790923a0d848754202743de29a60467f /src/being.cpp
parent71ba93abb9436eabc9fed8e4e49ab5cdee47bb38 (diff)
downloadmanaplus-b5589bc5a7f426fa067e3800db1b138852c75286.tar.gz
manaplus-b5589bc5a7f426fa067e3800db1b138852c75286.tar.bz2
manaplus-b5589bc5a7f426fa067e3800db1b138852c75286.tar.xz
manaplus-b5589bc5a7f426fa067e3800db1b138852c75286.zip
Rename sprites method setDirection to setSpriteDirection.
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);