*Fix build.
--HG-- branch : trunk
This commit is contained in:
1 parent
d159e84325
commit
e1806419be
1 file changed
+1
-1
@@ -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)) );
|
||||
|
||||
Reference in new issue
Block a user