*Fix the bug that unit cannot enter vehicle.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-21 15:12:59 -05:00
parent 32e44b6c99
commit c25158f836
2 changed files with 1 additions and 2 deletions

View File

@@ -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