aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-26 09:43:39 +0100
committern0n4m3 <none@none>2009-12-26 09:43:39 +0100
commitcd9f84aae50e9d05bb432a42629965e5eff9222f (patch)
tree7b88af77b396c262df03c0b79f4fd02b958398c7 /src/game/Unit.h
parent3796af3658a6c70ce0209ede98dea2b5b326ed8f (diff)
Implement expected combat stop with friendly faction. by VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index cef043be902..0abcbf8f017 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1152,6 +1152,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
void CombatStop(bool includingCast = false);
void CombatStopWithPets(bool includingCast = false);
+ void StopAttackFaction(uint32 faction_id);
Unit* SelectNearbyTarget(float dist = NOMINAL_MELEE_RANGE) const;
bool hasNegativeAuraWithInterruptFlag(uint32 flag);
void SendMeleeAttackStop(Unit* victim);