summaryrefslogtreecommitdiff
path: root/src/net/equipmenthandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-24 16:24:43 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-24 16:24:43 +0000
commitbfbb797e6c528e0650826e917d498c52362abbb0 (patch)
tree8d111b92eefe8451a66b57599217829b4127318e /src/net/equipmenthandler.cpp
parentdae5c721bf974792db526f1d736384d95a75635e (diff)
downloadmana-client-bfbb797e6c528e0650826e917d498c52362abbb0.tar.gz
mana-client-bfbb797e6c528e0650826e917d498c52362abbb0.tar.bz2
mana-client-bfbb797e6c528e0650826e917d498c52362abbb0.tar.xz
mana-client-bfbb797e6c528e0650826e917d498c52362abbb0.zip
Merged 0.0 changes from revision 3177 to 3234 to trunk.
Diffstat (limited to 'src/net/equipmenthandler.cpp')
-rw-r--r--src/net/equipmenthandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/equipmenthandler.cpp b/src/net/equipmenthandler.cpp
index 1c0fd4ca..c0072a45 100644
--- a/src/net/equipmenthandler.cpp
+++ b/src/net/equipmenthandler.cpp
@@ -43,6 +43,7 @@ EquipmentHandler::EquipmentHandler()
0x01d7,
SMSG_PLAYER_UNEQUIP,
SMSG_PLAYER_ARROW_EQUIP,
+ SMSG_PLAYER_ATTACK_RANGE,
0
};
handledMessages = _messages;
@@ -191,6 +192,10 @@ void EquipmentHandler::handleMessage(MessageIn &msg)
index, equipPoint, type, position);
break;
+ case SMSG_PLAYER_ATTACK_RANGE:
+ player_node->setAttackRange(msg.readShort());
+ break;
+
case SMSG_PLAYER_ARROW_EQUIP:
itemId = msg.readShort();