mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
*Fix the bug that unit cannot enter vehicle.
--HG-- branch : trunk
This commit is contained in:
@@ -13486,7 +13486,6 @@ void Unit::EnterVehicle(Vehicle *vehicle)
|
||||
m_Vehicle->setFaction(getFaction());
|
||||
|
||||
addUnitState(UNIT_STAT_ONVEHICLE);
|
||||
AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);
|
||||
//movementInfo is set in AddPassenger
|
||||
//packets are sent in AddPassenger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user