Skip to content

Commit

Permalink
Revert ancient workaround causing issue with reconnecting
Browse files Browse the repository at this point in the history
Players who reconnect during taxi flight no longer able to free fly on arrival.

Modern cores no longer include this workaround.

Please, let us know about any visual rough edges related to players who are logging in mid-air.

Reverts cmangos/mangos-svn@2695d3e

Closes cmangos/issues#1728
Closes cmangos/issues#1821
  • Loading branch information
Warlockbugs committed Jan 20, 2019
1 parent 3871fb5 commit e550711
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/game/Entities/Player.cpp
Expand Up @@ -18991,10 +18991,6 @@ void Player::SendInitialPacketsBeforeAddToMap()
data << (float)0.01666667f; // game speed
GetSession()->SendPacket(data);

// set fly flag if in fly form or taxi flight to prevent visually drop at ground in showup moment
if (IsFreeFlying() || IsTaxiFlying())
m_movementInfo.AddMovementFlag(MOVEFLAG_FLYING);

if(!GetSession()->PlayerLoading())
SetMover(this);
}
Expand Down

0 comments on commit e550711

Please sign in to comment.