[10072] More methods for access/modify ObjectGuid update fields.

* Some related cleanups.
* Also drop unused Player::SetFarSightGUID decalration as reported by LordJZ.
This commit is contained in:
VladimirMangos 2010-06-17 05:58:05 +04:00
parent 523584766b
commit 33d73f2efc
4 changed files with 11 additions and 9 deletions

View file

@ -1294,10 +1294,10 @@ void WorldSession::HandleFarSightOpcode( WorldPacket & recv_data )
//WorldPacket data(SMSG_CLEAR_FAR_SIGHT_IMMEDIATE, 0)
//SendPacket(&data);
//_player->SetUInt64Value(PLAYER_FARSIGHT, 0);
DEBUG_LOG("Removed FarSight from player %u", _player->GetGUIDLow());
DEBUG_LOG("Removed FarSight from %s", _player->GetObjectGuid().GetString().c_str());
break;
case 1:
DEBUG_LOG("Added FarSight (GUID:%u TypeId:%u) to player %u", GUID_LOPART(_player->GetFarSight()), GuidHigh2TypeId(GUID_HIPART(_player->GetFarSight())), _player->GetGUIDLow());
DEBUG_LOG("Added FarSight %s to %s", _player->GetFarSightGuid().GetString().c_str(), _player->GetObjectGuid().GetString().c_str());
break;
}
}