diff options
author | QAston <none@none> | 2010-01-24 13:08:25 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-24 13:08:25 +0100 |
commit | d1a40eb6888c325b3f01ac8a90f1dbac7ed56ea0 (patch) | |
tree | d73e698cb5ce789e70382a150aa57298c8c06b02 /src/game/Unit.h | |
parent | 79accd730ecbf396b856ee42e25f2c23e51dceed (diff) |
*Do not keep area aura targets in combat with aura owner
*Add some safety checks to area aura target map update.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 5ff61195cc4..07281fd90e8 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1536,10 +1536,9 @@ class TRINITY_DLL_SPEC Unit : public WorldObject // aura apply/remove helpers - you should better not use these void _AddAura(UnitAura * aura, Unit * caster); - AuraApplication * __ApplyAura(Aura * aura); - void __UnapplyAura(AuraApplicationMap::iterator &i); - bool _ApplyAuraEffect(Aura * aura, uint8 effIndex); - void _UnapplyAuraEffect(AuraApplication * aurApp, uint8 effIndex, AuraRemoveMode removeMode); + AuraApplication * _CreateAuraApplication(Aura * aura, uint8 effMask); + void _ApplyAuraEffect(Aura * aura, uint8 effIndex); + void _ApplyAura(AuraApplication * aurApp, uint8 effMask); void _UnapplyAura(AuraApplicationMap::iterator &i, AuraRemoveMode removeMode); void _UnapplyAura(AuraApplication * aurApp, AuraRemoveMode removeMode); void _RemoveNoStackAuraApplicationsDueToAura(Aura * aura); |