diff options
author | Seline <none@none> | 2008-10-12 18:26:26 -0500 |
---|---|---|
committer | Seline <none@none> | 2008-10-12 18:26:26 -0500 |
commit | 63af34886bdcf04a51012c34f53c330e4f805f16 (patch) | |
tree | a228d92f7978fd129ae261cf89d37776531064d1 /src/game/Object.cpp | |
parent | fdcf5cc4069be8584b21fe42ee90d7d6109b3c9a (diff) |
[svn] * Send ShutdownMsg to console using outstring_log.
* Prevent Client Crashes when MOVEMENTFLAG_ONTRANSPORT and MOVEMENTFLAG_SPLINE2 is set on creatures.
* Implement four new SEC_ADMINISTRATOR commands:
- Group (.group [leader]/[disband]/[remove]) commands.
- GameObject State (.gobject state <guid> <state>) command.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 2 |
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: |