diff options
author | megamage <none@none> | 2009-04-21 15:12:59 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-21 15:12:59 -0500 |
commit | c25158f836c3fb50010edac8bdabb9bf78475fd2 (patch) | |
tree | 073d9c5b85d729d034b9b56a8011da0f3d68aee5 /src/game/Unit.cpp | |
parent | 32e44b6c99a01b7f505309cdc7b81640fa852852 (diff) |
*Fix the bug that unit cannot enter vehicle.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 475a3dc5db7..365e55cd22d 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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 |