aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 9d4f60c571d..e849311d79c 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -20215,13 +20215,6 @@ 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 )