diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-18 23:21:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-18 23:21:31 +0300 |
commit | b5589bc5a7f426fa067e3800db1b138852c75286 (patch) | |
tree | 1d73adc5790923a0d848754202743de29a60467f /src/being.cpp | |
parent | 71ba93abb9436eabc9fed8e4e49ab5cdee47bb38 (diff) | |
download | mv-b5589bc5a7f426fa067e3800db1b138852c75286.tar.gz mv-b5589bc5a7f426fa067e3800db1b138852c75286.tar.bz2 mv-b5589bc5a7f426fa067e3800db1b138852c75286.tar.xz mv-b5589bc5a7f426fa067e3800db1b138852c75286.zip |
Rename sprites method setDirection to setSpriteDirection.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
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); |