[12674] Rework StopMove to not start movement if already stopped

thx to Schmoozerd for hint
thx to rsa for pointing to bug

Signed-off-by: Schmoozerd <schmoozerd@cmangos>
This commit is contained in:
boxa 2013-08-19 16:30:01 +03:00 committed by Antz
parent de2cc58be9
commit 394be2c5bf
4 changed files with 7 additions and 4 deletions

View file

@ -320,7 +320,7 @@ void FlightPathMovementGenerator::Finalize(Player& player)
// update z position to ground and orientation for landing point
// this prevent cheating with landing point at lags
// when client side flight end early in comparison server side
player.StopMoving();
player.StopMoving(true);
}
}