diff options
author | megamage <none@none> | 2009-06-15 12:02:55 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-15 12:02:55 -0500 |
commit | b9610f27dd2c55f63f9a96f1259a8dce33b71d88 (patch) | |
tree | 4920b011dc839e2c4901e31d8996a206bff63808 /src/game/Vehicle.cpp | |
parent | 4d6fb6c8b2d84996711fa8bc41e71fa6d483b98c (diff) |
*Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Vehicle.cpp')
-rw-r--r-- | src/game/Vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Vehicle.cpp b/src/game/Vehicle.cpp index 3fbbd9f922c..0464c52705e 100644 --- a/src/game/Vehicle.cpp +++ b/src/game/Vehicle.cpp @@ -284,7 +284,7 @@ bool Vehicle::AddPassenger(Unit *unit, int8 seatId) //SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNK_24); - unit->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT + MOVEMENTFLAG_FLY_UNK1); + unit->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT); VehicleSeatEntry const *veSeat = seat->second.seatInfo; unit->m_movementInfo.t_x = veSeat->m_attachmentOffsetX; unit->m_movementInfo.t_y = veSeat->m_attachmentOffsetY; |