aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-02 22:59:55 -0500
committermegamage <none@none>2009-05-02 22:59:55 -0500
commitb5b5eeb81501e64f3fec867b527306580509a32d (patch)
treeaee0817cbca40d1938edc495dc039fab2d2a2d69 /src
parent5fa99ed46c53411c5665f98e0489bc114528c9f1 (diff)
*Allow player interact with summoned npc.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 2f3b21f8621..c3672b8ea7e 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -2043,7 +2043,7 @@ Player::GetNPCIfCanInteractWith(uint64 guid, uint32 npcflagmask)
return NULL;
// not allow interaction under control
- if(unit->GetCharmerOrOwnerGUID())
+ if(unit->GetCharmerGUID())
return NULL;
// not enemy