Fix commit 1509 that made it unable to speak with neutral NPCs.
At the same time, it is still not possible to exploit with cheating tool. --HG-- branch : trunk
This commit is contained in:
1 parent
9f5f0159f8
commit
1efdaa8960
1 file changed
+1
-1
@@ -97,7 +97,7 @@ ObjectAccessor::GetNPCIfCanInteractWith(Player const &player, uint64 guid, uint3
|
||||
if(!player.CanInteractWithNPCs(!unit->isSpiritService()))
|
||||
return NULL;
|
||||
|
||||
if(!player.IsFriendlyTo(unit))
|
||||
if(player.IsHostileTo(unit))
|
||||
return NULL;
|
||||
|
||||
// appropriate npc type
|
||||
|
||||
Reference in new issue
Block a user