summaryrefslogtreecommitdiff
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-08-26 22:56:46 +0200
commit960d40d819afb65387469591bdb02e6819d72294 (patch)
tree773a697bdd12ae28a717bf6087c3109fbfc1fb35 /src/game-server/combatcomponent.cpp
parent163c438e4f373989a8a82e47f38ac67d70b5a1bf (diff)
downloadmanaserv-960d40d819afb65387469591bdb02e6819d72294.tar.gz
manaserv-960d40d819afb65387469591bdb02e6819d72294.tar.bz2
manaserv-960d40d819afb65387469591bdb02e6819d72294.tar.xz
manaserv-960d40d819afb65387469591bdb02e6819d72294.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 38c7716e..65eddc46 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()