summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-04-10 14:58:41 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-04-10 14:58:41 +0000
commita191c063d77dfe5ee7e79e55a7106ad505d8f493 (patch)
tree384cab3f0d15b8372c225a29e8872cd0d94334ce
parentcd68076f45b1ae6332b5298f57240aa4b0ebf357 (diff)
downloadmana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.tar.gz
mana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.tar.bz2
mana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.tar.xz
mana-a191c063d77dfe5ee7e79e55a7106ad505d8f493.zip
-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);