From e1806419be36ac8a1b6b1ea377cfba20b36db720 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 19 Apr 2009 19:42:52 -0500 Subject: *Fix build. --HG-- branch : trunk --- src/game/MiscHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index ca7a9effbfb..57d63948872 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -96,7 +96,7 @@ void WorldSession::HandleGossipSelectOptionOpcode( WorldPacket & recv_data ) GameObject *go = NULL; if(IS_CREATURE_GUID(guid)) { - unit = ObjectAccessor::GetNPCIfCanInteractWith(*_player, guid, UNIT_NPC_FLAG_NONE); + unit = GetPlayer()->GetNPCIfCanInteractWith(guid, UNIT_NPC_FLAG_NONE); if (!unit) { sLog.outDebug( "WORLD: HandleGossipSelectOptionOpcode - Unit (GUID: %u) not found or you can't interact with him.", uint32(GUID_LOPART(guid)) ); -- cgit v1.2.3