Core/Movement: Make MovementGenerators use pointers instead of references. cleanup

This commit is contained in:
Subv committed 2012-08-25 22:57:55 -05:00
1 parent e0abbfd86c
commit 97c3e2e6c1
24 files changed
+484 -481

No files matched your search

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