mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10229] Small cleanup in taxi related checks
This commit is contained in:
parent
6b0746b49b
commit
9381e8680c
4 changed files with 6 additions and 4 deletions
|
|
@ -19469,7 +19469,7 @@ void Player::SendInitialPacketsBeforeAddToMap()
|
|||
// SMSG_POWER_UPDATE
|
||||
|
||||
// set fly flag if in fly form or taxi flight to prevent visually drop at ground in showup moment
|
||||
if(HasAuraType(SPELL_AURA_MOD_FLIGHT_SPEED_MOUNTED) || HasAuraType(SPELL_AURA_FLY) || IsTaxiFlying())
|
||||
if (IsFreeFlying() || IsTaxiFlying())
|
||||
m_movementInfo.AddMovementFlag(MOVEFLAG_FLYING);
|
||||
|
||||
SetMover(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue