diff options
Diffstat (limited to 'src/server/scripts/World')
-rw-r--r-- | src/server/scripts/World/npcs_special.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp index 66b8e400a71..2fe252ff098 100644 --- a/src/server/scripts/World/npcs_special.cpp +++ b/src/server/scripts/World/npcs_special.cpp @@ -1873,7 +1873,7 @@ public: Unit *owner = me->GetCharmerOrOwner(); me->CombatStop(true); - if (owner && !me->hasUnitState(UNIT_STAT_FOLLOW)) + if (owner && !me->HasUnitState(UNIT_STAT_FOLLOW)) { me->GetMotionMaster()->Clear(false); me->GetMotionMaster()->MoveFollow(owner, PET_FOLLOW_DIST, me->GetFollowAngle(), MOTION_SLOT_ACTIVE); @@ -2056,7 +2056,7 @@ public: if (!UpdateVictim()) return; - if (!me->hasUnitState(UNIT_STAT_STUNNED)) + if (!me->HasUnitState(UNIT_STAT_STUNNED)) me->SetControlled(true,UNIT_STAT_STUNNED);//disable rotate if (uiEntry != NPC_ADVANCED_TARGET_DUMMY && uiEntry != NPC_TARGET_DUMMY) |