From 67bc2fb4fe99ec0d43dcddea7d5d0624ef222c0d Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Thu, 17 Dec 2009 06:58:19 +0100 Subject: Fixed typo --HG-- branch : trunk --- src/game/CreatureAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/CreatureAI.cpp b/src/game/CreatureAI.cpp index f065a0b40c6..f70ddd03d68 100644 --- a/src/game/CreatureAI.cpp +++ b/src/game/CreatureAI.cpp @@ -109,7 +109,7 @@ void CreatureAI::MoveInLineOfSight(Unit *who) if(me->getVictim()) return; - if (me->GetTypeId() == CREATURE_TYPE_NON_COMBAT_PET) // non-combat pets should just stand there and look good;) + if (me->GetCreatureType() == CREATURE_TYPE_NON_COMBAT_PET) // non-combat pets should just stand there and look good;) return; if(me->canStartAttack(who, false)) -- cgit v1.2.3