[9454] Fixed some time existed multi-map taxi problem.

Interrupt taxi movegen at far teleport time with remove related state.
Far teleport triggered code not expect this state set.
This commit is contained in:
VladimirMangos 2010-02-26 00:43:07 +03:00
parent ac99fa4d6f
commit 73eeac234f
7 changed files with 30 additions and 24 deletions

View file

@ -117,7 +117,7 @@ void WorldSession::HandleMoveWorldportAckOpcode()
{
// short preparations to continue flight
FlightPathMovementGenerator* flight = (FlightPathMovementGenerator*)(GetPlayer()->GetMotionMaster()->top());
flight->Initialize(*GetPlayer());
flight->Reset(*GetPlayer());
return;
}