diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-04-10 14:58:41 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-04-10 14:58:41 +0000 |
commit | a191c063d77dfe5ee7e79e55a7106ad505d8f493 (patch) | |
tree | 384cab3f0d15b8372c225a29e8872cd0d94334ce /src | |
parent | cd68076f45b1ae6332b5298f57240aa4b0ebf357 (diff) | |
download | mana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.tar.gz mana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.tar.bz2 mana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.tar.xz mana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/net/beinghandler.cpp | 7 |
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); |