From 1addad4dbd38d4690c24ad9c07456e06e443c78e Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 22 Jun 2013 16:10:48 +0200 Subject: Core/Vehicles: Fixed crashes in StopCastingCharm happening when unit was attempting to enter 2 vehicles at the same time Closes #9293 Closes #9618 --- src/server/game/Spells/SpellInfo.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/server/game/Spells/SpellInfo.cpp') 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(); -- cgit v1.2.3