Fixed typo

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-17 06:58:19 +01:00
parent fa4685da7c
commit 67bc2fb4fe

View File

@@ -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))