diff options
author | thenecromancer <none@none> | 2010-03-11 19:57:23 +0100 |
---|---|---|
committer | thenecromancer <none@none> | 2010-03-11 19:57:23 +0100 |
commit | 01ee5399a700b5b67e4f64a8847178c8ff62af5a (patch) | |
tree | e3ec4bc7477bd9779c45fb7d08426bceccd9bf9f | |
parent | d2dfe54916d00853a0466af13df7de5b776d684a (diff) |
Remove some Debug logs nobody needed anymore
they've also contained wrong typecast function, therfore this'll fix issue 1054
--HG--
branch : trunk
-rw-r--r-- | src/game/Object.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 725f6cba771..3e0bbfffb27 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -629,14 +629,12 @@ void Object::_BuildValuesUpdate(uint8 updatetype, ByteBuffer * data, UpdateMask if(index == UNIT_FIELD_BYTES_2) { // Allow targetting opposite faction in party when enabled in config - DEBUG_LOG("-- VALUES_UPDATE: Sending '%s' the blue-group-fix from '%s' (flag)", target->GetName(), this->ToPlayer()->GetName()); *data << ( m_uint32Values[ index ] & ((UNIT_BYTE2_FLAG_SANCTUARY /*| UNIT_BYTE2_FLAG_AURAS | UNIT_BYTE2_FLAG_UNK5*/) << 8) ); // this flag is at uint8 offset 1 !! } else { // pretend that all other HOSTILE players have own faction, to allow follow, heal, rezz (trade wont work) uint32 faction = target->getFaction(); - DEBUG_LOG("-- VALUES_UPDATE: Sending '%s' the blue-group-fix from '%s' (faction %u)", target->GetName(), this->ToPlayer()->GetName(), faction); *data << uint32(faction); } } |