diff options
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 983f6a023ef..cbfa701a398 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1149,7 +1149,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject bool isInCombat() const { return HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IN_COMBAT); } void CombatStart(Unit* target); - void SetInCombatState(bool PvP); + void SetInCombatState(bool PvP, Unit* enemy = NULL); void SetInCombatWith(Unit* enemy); void ClearInCombat(); uint32 GetCombatTimer() const { return m_CombatTimer; } |