diff options
author | tartalo <none@none> | 2009-12-01 11:43:57 +0100 |
---|---|---|
committer | tartalo <none@none> | 2009-12-01 11:43:57 +0100 |
commit | d7262a62986ccdf24fdf8a8f3702246adf359d3d (patch) | |
tree | bb2db8c29496b1aa0776807b52e5bc79c70886ad /src/game/Player.cpp | |
parent | b7934fc24505b42f03764a9dddbfe6ab1d1af2c3 (diff) |
Implement No Fly Zone using Spell, by Spp. Needs db support. Closes #494
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index a510c1bd658..885b69515fd 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -6762,7 +6762,7 @@ void Player::DuelComplete(DuelCompleteType type) duel->opponent->AttackStop(); } break; - case DUEL_WON: + case DUEL_WON: GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_LOSE_DUEL, 1); if (duel->opponent) { @@ -21177,7 +21177,7 @@ void Player::HandleFall(MovementInfo const& movementInfo) DEBUG_LOG("FALLDAMAGE z=%f sz=%f pZ=%f FallTime=%d mZ=%f damage=%d SF=%d" , movementInfo.z, height, GetPositionZ(), movementInfo.fallTime, height, damage, safe_fall); } } - RemoveAura(61243); // No fly zone - Parachute + RemoveAura(44795); // No fly zone - Parachute } void Player::UpdateAchievementCriteria( AchievementCriteriaTypes type, uint32 miscvalue1/*=0*/, uint32 miscvalue2/*=0*/, Unit *unit/*=NULL*/, uint32 time/*=0*/ ) |