aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-21 07:58:19 +0100
committern0n4m3 <none@none>2009-12-21 07:58:19 +0100
commitc3ee3f537da78d24f540375f34a63dbf0aadfe28 (patch)
tree5c0dcbe078c2af6f41a94a847827551258f892a5 /src/game/SpellAuras.cpp
parent865e97729f94fb3266e3f6dd4a7cf3f5b332592f (diff)
Set use mtmaps by default, and cleanup some code in MapManager.
TODO: Set MapUpdate.Threads=0 in config, for full disable mtmaps, for correct work mtmaps, need ACE 5.7.2+, recommend 5.7.5 --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 04a79e29635..41059348b0c 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -4772,16 +4772,6 @@ void AuraEffect::HandlePeriodicTriggerSpell(bool apply, bool Real, bool /*change
void AuraEffect::HandlePeriodicTriggerSpellWithValue(bool apply, bool Real, bool /*changeAmount*/)
{
m_isPeriodic = apply;
-
- SpellEntry const* spell = GetSpellProto();
- switch (spell->Id)
- {
- case 58730: // No fly zone - Wintergrasp (3.1.3 only 3.2.2 Does not call this aura)
- if (apply)
- if (m_target->GetTypeId() == TYPEID_PLAYER)
- ((Player *)m_target)->GetSession()->SendNotification(LANG_ZONE_NOFLYZONE);
- break;
- }
}
void AuraEffect::HandlePeriodicEnergize(bool apply, bool Real, bool changeAmount)