summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-08 05:35:20 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-08 05:35:20 +0200
commit871fb6eee49c142be78315cc97c1c8e29daf7d61 (patch)
tree30d2570ad862817d278e88edda9e4c6028d3c85a /src/net/tmwa/beinghandler.cpp
parentef7f53e43ce4306080efae3b86443a6016a3e66a (diff)
downloadplus-871fb6eee49c142be78315cc97c1c8e29daf7d61.tar.gz
plus-871fb6eee49c142be78315cc97c1c8e29daf7d61.tar.bz2
plus-871fb6eee49c142be78315cc97c1c8e29daf7d61.tar.xz
plus-871fb6eee49c142be78315cc97c1c8e29daf7d61.zip
Add support for drawing new slots as sprites.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index ea4978a20..9c75689a4 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -674,6 +674,14 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
dstBeing->setSprite(SPRITE_MISC2, id);
player_node->imitateOutfit(dstBeing, SPRITE_MISC2);
break;
+ case 14:
+ dstBeing->setSprite(SPRITE_EVOL1, id);
+ player_node->imitateOutfit(dstBeing, SPRITE_EVOL1);
+ break;
+ case 15:
+ dstBeing->setSprite(SPRITE_EVOL2, id);
+ player_node->imitateOutfit(dstBeing, SPRITE_EVOL2);
+ break;
default:
logger->log("QQQ3 CHANGE_LOOKS: unsupported type: "
"%d, id: %d", type, id);