*Fix the bug that unit cannot enter vehicle.

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

No files matched your search

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