Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.59 KB | None | 0 0
  1. diff --git a/src/game/Object.cpp b/src/game/Object.cpp
  2. index ab84df4..e59a626 100644
  3. --- a/src/game/Object.cpp
  4. +++ b/src/game/Object.cpp
  5. @@ -738,6 +738,9 @@ void Object::_SetUpdateBits(UpdateMask *updateMask, Player* /*target*/) const
  6.          if(m_uint32Values_mirror[index]!= m_uint32Values[index])
  7.              updateMask->SetBit(index);
  8.      }
  9. +    // always update this field to prevent problems with shapeshifting
  10. +    if (GetTypeId() == TYPEID_PLAYER)
  11. +        updateMask->SetBit(UNIT_FIELD_BYTES_2);
  12.  }
  13.  
  14.  void Object::_SetCreateBits(UpdateMask *updateMask, Player* /*target*/) const
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement