summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-11 23:40:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-12 01:39:53 +0300
commit95100fc5191ea6e2e379ca73cd4e67bee4376ba1 (patch)
tree1232af2b6d9a85e28a46b126140af54d8de3b9fc /src/net/tmwa/beinghandler.cpp
parentfe01452d2448a8033dfff33a052f5a674dfc1a43 (diff)
downloadplus-95100fc5191ea6e2e379ca73cd4e67bee4376ba1.tar.gz
plus-95100fc5191ea6e2e379ca73cd4e67bee4376ba1.tar.bz2
plus-95100fc5191ea6e2e379ca73cd4e67bee4376ba1.tar.xz
plus-95100fc5191ea6e2e379ca73cd4e67bee4376ba1.zip
add support for player look.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index e68e9f80b..70e57c9a4 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -380,6 +380,9 @@ void BeingHandler::processBeingChangeLook(Net::MessageIn &msg,
static_cast<unsigned char>(id2));
player_node->imitateOutfit(dstBeing, SPRITE_EVOL2);
break;
+ case 16:
+ dstBeing->setLook(id);
+ break;
default:
logger->log("QQQ3 CHANGE_LOOKS: unsupported type: "
"%d, id: %d", type, id);