summaryrefslogtreecommitdiffstats
path: root/src/game-server/combatcomponent.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-27 18:11:13 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-05-08 14:02:51 +0200
commit0a1332f04b841bc32e09552665e5cd611fa23ca8 (patch)
treec0afc18cff01a6dbd028692fc3170d88bc47533b /src/game-server/combatcomponent.cpp
parent06027d423e179ea3b479284c466725ed4c76ca7a (diff)
downloadmanaserv-0a1332f04b841bc32e09552665e5cd611fa23ca8.tar.gz
manaserv-0a1332f04b841bc32e09552665e5cd611fa23ca8.tar.xz
manaserv-0a1332f04b841bc32e09552665e5cd611fa23ca8.zip
[Abilities] Added a add_hit_taken bind
This allows to display hit messages in the client for abilities
Diffstat (limited to 'src/game-server/combatcomponent.cpp')
-rw-r--r--src/game-server/combatcomponent.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game-server/combatcomponent.cpp b/src/game-server/combatcomponent.cpp
index 38c7716..65eddc4 100644
--- a/src/game-server/combatcomponent.cpp
+++ b/src/game-server/combatcomponent.cpp
@@ -157,7 +157,6 @@ int CombatComponent::damage(Entity &target,
if (HPloss > 0)
{
- mHitsTaken.push_back(HPloss);
const Attribute *HP = beingComponent->getAttribute(ATTR_HP);
LOG_DEBUG("Being "
<< target.getComponent<ActorComponent>()->getPublicID()