diff options
author | Rat <none@none> | 2009-04-10 23:48:44 +0200 |
---|---|---|
committer | Rat <none@none> | 2009-04-10 23:48:44 +0200 |
commit | e830ca720610505d3ab818e2142e939a1aa27ece (patch) | |
tree | 1f413ee9669d667f2e7a9f3d15a572929a7a4f3a /src/game/Object.cpp | |
parent | ce0d9fbe8e828ca33ad5416a8719efa1339f393e (diff) |
*fix auras (buff/debuff) original patch by Iskander
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 4a485f9c489..956b327820a 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -633,7 +633,8 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask if(index == UNIT_FIELD_BYTES_2) { DEBUG_LOG("-- VALUES_UPDATE: Sending '%s' the blue-group-fix from '%s' (flag)", target->GetName(), ((Player*)this)->GetName()); - *data << ( m_uint32Values[ index ] & (UNIT_BYTE2_FLAG_SANCTUARY << 8) ); // this flag is at uint8 offset 1 !! + *data << ( m_uint32Values[ index ] & ((UNIT_BYTE2_FLAG_SANCTUARY | UNIT_BYTE2_FLAG_AURAS | UNIT_BYTE2_FLAG_UNK5) << 8) ); // this flag is at uint8 offset 1 !! + ch = true; } else if(index == UNIT_FIELD_FACTIONTEMPLATE) |