aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellInfo.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-06-22 16:10:48 +0200
committerShauren <shauren.trinity@gmail.com>2013-06-22 16:10:48 +0200
commit1addad4dbd38d4690c24ad9c07456e06e443c78e (patch)
treed435019ff58b617f85378e0a1c2b1009e5199acc /src/server/game/Spells/SpellInfo.cpp
parent55fa58af19b39ab92bdea7407a5c12b603931b75 (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.cpp22
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();