SHARE
TWEET

Untitled

a guest Feb 22nd, 2012 94 Never
  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
RAW Paste Data
Top