diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-21 15:09:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-21 15:09:39 +0300 |
commit | 3d524b386e3dd6d89d481749cd0015bff247a703 (patch) | |
tree | adc0d84377175320083738168229cdf20ff48e27 /src/net/tmwa/beinghandler.cpp | |
parent | 71cccfd289845fcd31e64f35d600ebafd4aa29c6 (diff) | |
download | manaverse-3d524b386e3dd6d89d481749cd0015bff247a703.tar.gz manaverse-3d524b386e3dd6d89d481749cd0015bff247a703.tar.bz2 manaverse-3d524b386e3dd6d89d481749cd0015bff247a703.tar.xz manaverse-3d524b386e3dd6d89d481749cd0015bff247a703.zip |
In Being split setSpriteId into setSpriteId and unSetSprite.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index 346aedf58..3629cf8a7 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -49,16 +49,11 @@ void BeingHandler::undress(Being *const being) const { if (!being) return; - being->setSpriteId(SPRITE_WEAPON, - 0); - being->setSpriteId(SPRITE_HEAD_BOTTOM, - 0); - being->setSpriteId(SPRITE_CLOTHES_COLOR, - 0); - being->setSpriteId(SPRITE_HAIR, - 0); - being->setSpriteId(SPRITE_SHOES, - 0); + being->unSetSprite(SPRITE_WEAPON); + being->unSetSprite(SPRITE_HEAD_BOTTOM); + being->unSetSprite(SPRITE_CLOTHES_COLOR); + being->unSetSprite(SPRITE_HAIR); + being->unSetSprite(SPRITE_SHOES); } #ifdef EATHENA_SUPPORT |