summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/net/beinghandler.cpp7
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b2c136db..b5132030 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-10 Philipp Sehmisch <tmw@crushnet.org>
+
+ * src/net/beinghandler.cpp: Critical hits are now displayed.
+
2008-04-09 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/gui/shoplistbox.cpp, src/gui/shoplistbox.h: Fixed problem with
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);