Skip to content

Commit

Permalink
hotfix for fall damage on ended taxi ride
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberium authored and Phatcat committed Oct 7, 2016
1 parent 5aa95b9 commit efb0716
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/game/TaxiHandler.cpp
Expand Up @@ -235,7 +235,12 @@ void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& recv_data)
GetPlayer()->m_taxi.ClearTaxiDestinations(); // clear problematic path and next
}
else
{
GetPlayer()->m_taxi.ClearTaxiDestinations(); // not destinations, clear source node

// has taxi flight just finished reset fall information to avoid receiving fall damage
GetPlayer()->SetFallInformation(0, movementInfo.GetPos()->z);
}
}

void WorldSession::HandleActivateTaxiOpcode(WorldPacket& recv_data)
Expand Down

0 comments on commit efb0716

Please sign in to comment.