From 4877009098c7399ee880f2374b08bf9f1c87d55d Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 19 Mar 2009 08:59:15 -0600 Subject: *Set seer back when it is removed to prevent crash. --HG-- branch : trunk --- src/game/MiscHandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/MiscHandler.cpp') diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index 9cfbcdf091d..446a7331615 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -1442,8 +1442,8 @@ void WorldSession::HandleFarSightOpcode( WorldPacket & recv_data ) _player->SetSeer(_player); break; case 1: - sLog.outDebug("Added FarSight " I64FMT " to player %u", _player->GetFarSightGUID(), _player->GetGUIDLow()); - if(WorldObject *target = _player->GetFarsightTarget()) + sLog.outDebug("Added FarSight " I64FMT " to player %u", _player->GetUInt64Value(PLAYER_FARSIGHT), _player->GetGUIDLow()); + if(WorldObject *target = _player->GetViewpoint()) _player->SetSeer(target); else sLog.outError("Player %s requests non-existing seer", _player->GetName()); -- cgit v1.2.3