From 01ee5399a700b5b67e4f64a8847178c8ff62af5a Mon Sep 17 00:00:00 2001 From: thenecromancer Date: Thu, 11 Mar 2010 19:57:23 +0100 Subject: Remove some Debug logs nobody needed anymore they've also contained wrong typecast function, therfore this'll fix issue 1054 --HG-- branch : trunk --- src/game/Object.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/game/Object.cpp') 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); } } -- cgit v1.2.3