-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
… restricted zone/etc.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2169,10 +2169,17 @@ void Aura::HandleAuraDummy(bool apply, bool Real) | |
} | ||
case 58600: // Restricted Flight Area | ||
{ | ||
// Remove Flight Auras | ||
target->CastSpell(target, 58601, true); | ||
// Parachute | ||
target->CastSpell(target, 45472, true); | ||
AreaTableEntry const* area = GetAreaEntryByAreaID(target->GetAreaId()); | ||
|
||
// Dalaran restricted flight zone (recheck before apply unmount) | ||
if (area && target->GetTargetGUID() == TYPEID_PLAYER && (area->flags & AREA_FLAG_CANNOT_FLY) && | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
((Player*)target)->IsFreeFlying() && !((Player*)target)->isGameMaster()) | ||
{ | ||
// Remove Flight Auras | ||
target->CastSpell(target, 58601, true); | ||
// Parachute | ||
target->CastSpell(target, 45472, true); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
VladimirMangos
|
||
} | ||
return; | ||
} | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "10209" | ||
#define REVISION_NR "10210" | ||
#endif // __REVISION_NR_H__ |
^ typo