diff options
| author | megamage <none@none> | 2009-04-19 19:42:52 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-19 19:42:52 -0500 |
| commit | e1806419be36ac8a1b6b1ea377cfba20b36db720 (patch) | |
| tree | 4da080a49845be9b148fc2859b39380d41c33916 /src/game/MiscHandler.cpp | |
| parent | d159e84325fd5544d7e5155726883aeeb4640d15 (diff) | |
*Fix build.
--HG--
branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
| -rw-r--r-- | src/game/MiscHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) ); |
