summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 16:36:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 16:36:44 +0300
commit2363866d00316240e025ebf479536ac68510d4b4 (patch)
tree065e8f35e6ca083358d92eb8ed3670c8077d09a4 /src/net/eathena/beinghandler.cpp
parent23af9b972ec8d4a1094aadf0d0171f16d82a7fcb (diff)
downloadmanaplus-2363866d00316240e025ebf479536ac68510d4b4.tar.gz
manaplus-2363866d00316240e025ebf479536ac68510d4b4.tar.bz2
manaplus-2363866d00316240e025ebf479536ac68510d4b4.tar.xz
manaplus-2363866d00316240e025ebf479536ac68510d4b4.zip
In undress command remove all known slots (hercules).
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 8b782f738..bfb72e911 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -52,7 +52,15 @@ void BeingHandler::undress(Being *const being) const
return;
being->setSprite(SPRITE_WEAPON, 0);
being->setSprite(SPRITE_HEAD_BOTTOM, 0);
+ being->setSprite(SPRITE_HEAD_TOP, 0);
+ being->setSprite(SPRITE_HEAD_MID, 0);
being->setSprite(SPRITE_CLOTHES_COLOR, 0);
+ being->setSprite(SPRITE_SHIELD, 0);
+ being->setSprite(SPRITE_FLOOR, 0);
+ being->setSprite(SPRITE_ROBE, 0);
+ being->setSprite(SPRITE_EVOL2, 0);
+ being->setSprite(SPRITE_EVOL3, 0);
+ being->setSprite(SPRITE_EVOL4, 0);
being->setSprite(SPRITE_HAIR, 0);
being->setSprite(SPRITE_SHOES, 0);
// being->setSprite(SPRITE_BODY, 0, "", true);