diff options
author | megamage <none@none> | 2009-04-30 16:31:05 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-30 16:31:05 -0500 |
commit | 48dab8af91eadec76f59d0cd3d99fc7fca3a69e9 (patch) | |
tree | 97dbed833e095599a50d5877aa8c4943660d9fb1 /src/game/Unit.h | |
parent | d6b1013763a4405ec844ace19398c2bda5b5940e (diff) | |
parent | eb9328e4dbd5e136728f90ae794da1066688953f (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 539d8859684..8e008e1357e 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1337,7 +1337,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject void SetCurrentCastedSpell(Spell * pSpell); virtual void ProhibitSpellScholl(SpellSchoolMask /*idSchoolMask*/, uint32 /*unTimeMs*/ ) { } - void InterruptSpell(uint32 spellType, bool withDelayed = true); + void InterruptSpell(uint32 spellType, bool withDelayed = true, bool withInstant = true); // set withDelayed to true to account delayed spells as casted // delayed+channeled spells are always accounted as casted @@ -1346,7 +1346,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject // set withDelayed to true to interrupt delayed spells too // delayed+channeled spells are always interrupted - void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid = 0); + void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid = 0, bool withInstant = true); Spell* FindCurrentSpellBySpellId(uint32 spell_id) const; |