diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 17:22:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 17:22:18 +0300 |
commit | 8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6 (patch) | |
tree | 04b3a9384dd92db372953bfbfcabec53d368fb41 /src/net/tmwa/beinghandler.cpp | |
parent | 326318d644c91f785e98a5b36fe350a95fdd5760 (diff) | |
download | plus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.gz plus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.bz2 plus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.tar.xz plus-8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6.zip |
Remove default value from parameter colorId in Being->setSprite.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp index 6a3e8a854..159e56fb8 100644 --- a/src/net/tmwa/beinghandler.cpp +++ b/src/net/tmwa/beinghandler.cpp @@ -49,12 +49,26 @@ void BeingHandler::undress(Being *const being) const { if (!being) return; - being->setSprite(SPRITE_WEAPON, 0, std::string()); - being->setSprite(SPRITE_HEAD_BOTTOM, 0, std::string()); - being->setSprite(SPRITE_CLOTHES_COLOR, 0, std::string()); - being->setSprite(SPRITE_HAIR, 0, std::string()); - being->setSprite(SPRITE_SHOES, 0, std::string()); -// being->setSprite(SPRITE_BODY, 0, "", true); + being->setSprite(SPRITE_WEAPON, + 0, + std::string(), + ItemColor_one); + being->setSprite(SPRITE_HEAD_BOTTOM, + 0, + std::string(), + ItemColor_one); + being->setSprite(SPRITE_CLOTHES_COLOR, + 0, + std::string(), + ItemColor_one); + being->setSprite(SPRITE_HAIR, + 0, + std::string(), + ItemColor_one); + being->setSprite(SPRITE_SHOES, + 0, + std::string(), + ItemColor_one); } #ifdef EATHENA_SUPPORT |