diff options
| author | QAston <none@none> | 2009-07-22 20:22:36 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-07-22 20:22:36 +0200 |
| commit | 974fad377e6f9479d5beb9bca7c51eb8451766a3 (patch) | |
| tree | c9170fb83ac23436fc7a7d5eeef85b2bfcbb4e1b /src/game/Unit.cpp | |
| parent | 0db6cb16d894b606493d88d412aa1bf9a54c6073 (diff) | |
*Fix a typo breaking some summon types.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 0a8e7dae7fc..56d3653abd2 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -219,7 +219,7 @@ void Unit::Update( uint32 p_time ) SendThreatListUpdate(); // update combat timer only for players and pets (only pets with PetAI) - if (isInCombat() && (GetTypeId() == TYPEID_PLAYER || (((Creature *)this)->isPet()) && IsControlledByPlayer())) + if (isInCombat() && (GetTypeId() == TYPEID_PLAYER || (((Creature *)this)->isPet() && IsControlledByPlayer()))) { // Check UNIT_STAT_MELEE_ATTACKING or UNIT_STAT_CHASE (without UNIT_STAT_FOLLOW in this case) so pets can reach far away // targets without stopping half way there and running off. |
