aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 7266d5612e7..82c9a40c3a3 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -264,6 +264,8 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint8 flags, uint32 flags2
case TYPEID_UNIT:
{
flags2 = ((Unit*)this)->GetUnitMovementFlags();
+ flags2 &= ~MOVEMENTFLAG_ONTRANSPORT;
+ flags2 &= ~MOVEMENTFLAG_SPLINE2;
}
break;
case TYPEID_PLAYER: