summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/beinghandler.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index 6100e76f..4c77523a 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -191,7 +191,8 @@ void BeingHandler::handleMessage(MessageIn *msg)
switch (type)
{
- case 0: // Damage
+ case 0x00: // Damage
+ case 0x0a: // Critical Damage
if (dstBeing) {
dstBeing->takeDamage(param1);
}
@@ -200,14 +201,14 @@ void BeingHandler::handleMessage(MessageIn *msg)
}
break;
- case 2: // Sit
+ case 0x02: // Sit
if (srcBeing) {
srcBeing->mFrame = 0;
srcBeing->setAction(Being::SIT);
}
break;
- case 3: // Stand up
+ case 0x03: // Stand up
if (srcBeing) {
srcBeing->mFrame = 0;
srcBeing->setAction(Being::STAND);