aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r--src/game/GameObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h
index 7f84bb2d3ec..671bd84addf 100644
--- a/src/game/GameObject.h
+++ b/src/game/GameObject.h
@@ -725,7 +725,7 @@ class GameObject : public WorldObject, public GridObject<GameObject>
void CastSpell(Unit *target, uint32 spell);
void SendCustomAnim();
bool IsInRange(float x, float y, float z, float radius) const;
- void TakenDamage(uint32 damage);
+ void TakenDamage(uint32 damage, Unit* who = NULL);
void Rebuild();
void EventInform(uint32 eventId);