summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-23 17:08:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-23 17:08:26 +0300
commiteeae2a9eeb3575569f1c34966fd718c316a88760 (patch)
tree5bb2912429c4a8a344b854990baeb76e4748a3c7 /src/net/eathena/beinghandler.cpp
parentd20744c0ff83572dc209389df900826b7d088546 (diff)
downloadplus-eeae2a9eeb3575569f1c34966fd718c316a88760.tar.gz
plus-eeae2a9eeb3575569f1c34966fd718c316a88760.tar.bz2
plus-eeae2a9eeb3575569f1c34966fd718c316a88760.tar.xz
plus-eeae2a9eeb3575569f1c34966fd718c316a88760.zip
eathena: add armor slot mapping.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index d1a5e05b9..0e36163f2 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -524,6 +524,11 @@ void BeingHandler::processBeingChangeLookContinue(Being *const dstBeing,
static_cast<unsigned char>(id2));
localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL3);
break;
+ case 17: // ARMOR
+ dstBeing->setSprite(SPRITE_EVOL4, id, color,
+ static_cast<unsigned char>(id2));
+ localPlayer->imitateOutfit(dstBeing, SPRITE_EVOL4);
+ break;
default:
logger->log("QQQ3 CHANGE_LOOKS: unsupported type: "
"%d, id: %d", type, id);