mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Fixed typo
--HG-- branch : trunk
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user