diff options
author | megamage <none@none> | 2009-08-21 02:46:48 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-21 02:46:48 -0500 |
commit | 457f7971de361f05ff02ee2f9552be55867e6bf3 (patch) | |
tree | eb6db3eb086e07ed83f7406b0f330adbbc344ad4 /src/game/Player.cpp | |
parent | f8bec55205af170e0ca6c112e6b25067115a35fc (diff) |
*Fix the bug that Eye of Acherus does not fly in some servers.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 8f704de84a5..753483100b3 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -20199,6 +20199,13 @@ void Player::SetClientControl(Unit* target, uint8 allowMove) GetSession()->SendPacket(&data); if(target == this) SetMover(this); + else if(target->canFly()) + { + WorldPacket data(SMSG_MOVE_SET_CAN_FLY, 12); + data.append(target->GetPackGUID()); + data << uint32(0); + SendDirectMessage(&data); + } } void Player::UpdateZoneDependentAuras( uint32 newZone ) |