diff options
| author | Shauren <shauren.trinity@gmail.com> | 2013-06-22 16:10:48 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2013-06-22 16:10:48 +0200 |
| commit | 1addad4dbd38d4690c24ad9c07456e06e443c78e (patch) | |
| tree | d435019ff58b617f85378e0a1c2b1009e5199acc /src/server/game/Spells/SpellInfo.cpp | |
| parent | 55fa58af19b39ab92bdea7407a5c12b603931b75 (diff) | |
Core/Vehicles: Fixed crashes in StopCastingCharm happening when unit was attempting to enter 2 vehicles at the same time
Closes #9293
Closes #9618
Diffstat (limited to 'src/server/game/Spells/SpellInfo.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 5225ff77e95..c813f9bbd27 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -1212,28 +1212,6 @@ bool SpellInfo::IsSingleTarget() const return false; } -bool SpellInfo::IsSingleTargetWith(SpellInfo const* spellInfo) const -{ - // Same spell? - if (IsRankOf(spellInfo)) - return true; - - SpellSpecificType spec = GetSpellSpecific(); - // spell with single target specific types - switch (spec) - { - case SPELL_SPECIFIC_JUDGEMENT: - case SPELL_SPECIFIC_MAGE_POLYMORPH: - if (spellInfo->GetSpellSpecific() == spec) - return true; - break; - default: - break; - } - - return false; -} - bool SpellInfo::IsAuraExclusiveBySpecificWith(SpellInfo const* spellInfo) const { SpellSpecificType spellSpec1 = GetSpellSpecific(); |
