diff options
author | n0n4m3 <none@none> | 2009-12-17 06:58:19 +0100 |
---|---|---|
committer | n0n4m3 <none@none> | 2009-12-17 06:58:19 +0100 |
commit | 67bc2fb4fe99ec0d43dcddea7d5d0624ef222c0d (patch) | |
tree | 3d98bee600c75ca30fc1760c04cbe48aa5dce233 /src | |
parent | fa4685da7c9c58dca4852149c671575ed6aeb575 (diff) |
Fixed typo
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/CreatureAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |