summaryrefslogtreecommitdiff
path: root/src/net/beinghandler.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-31 04:05:51 +0000
committerIra Rice <irarice@gmail.com>2008-10-31 04:05:51 +0000
commitc22fc71adacaf6222f7e6fb70f83758298f25904 (patch)
tree55a19ec517139aee1c8c3b966058b5958e62509d /src/net/beinghandler.cpp
parent4d96a14a3922a21be3f93773c26a42a82c49b589 (diff)
downloadMana-c22fc71adacaf6222f7e6fb70f83758298f25904.tar.gz
Mana-c22fc71adacaf6222f7e6fb70f83758298f25904.tar.bz2
Mana-c22fc71adacaf6222f7e6fb70f83758298f25904.tar.xz
Mana-c22fc71adacaf6222f7e6fb70f83758298f25904.zip
Added critical notifications to the client. While I had originally
planned to do this (I still did it my way), TMW beat me to implementing, so I'll credit them with their commit reminding me to do it. This is not done the exact same way, as I prefer to see an actual "crit!" show above the being, instead of an ambiguous particle.
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r--src/net/beinghandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index baca0cfc..85e18e5a 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -237,9 +237,12 @@ void BeingHandler::handleMessage(MessageIn *msg)
switch (type)
{
- case 0x00: // Damage
case 0x0a: // Critical Damage
if (dstBeing) {
+ dstBeing->showCrit();
+ }
+ case 0x00: // Damage
+ if (dstBeing) {
dstBeing->takeDamage(param1);
}
if (srcBeing) {