diff options
Diffstat (limited to 'src/game/UnitAI.cpp')
-rw-r--r-- | src/game/UnitAI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/UnitAI.cpp b/src/game/UnitAI.cpp index 7ff4a74b522..c04a698048b 100644 --- a/src/game/UnitAI.cpp +++ b/src/game/UnitAI.cpp @@ -91,7 +91,7 @@ struct DefaultTargetSelector : public std::unary_function<Unit *, bool> int32 m_aura; // pUnit: the reference unit - // dist: if 0: ignored, if > 0: maximum distance to the reference unit, if < 0: minimum distance to the reference unit + // dist: if 0: ignored, if > 0: maximum distance to the reference unit, if < 0: minimum distance to the reference unit // playerOnly: self explaining // aura: if 0: ignored, if > 0: the target shall have the aura, if < 0, the target shall NOT have the aura DefaultTargetSelector(const Unit *pUnit, float dist, bool playerOnly, int32 aura) : me(pUnit), m_dist(dist), m_playerOnly(playerOnly), m_aura(aura) {} @@ -205,7 +205,7 @@ void UnitAI::DoCastToAllHostilePlayers(uint32 spellid, bool triggered) } void UnitAI::DoCast(uint32 spellId) -{ +{ Unit *target = NULL; //sLog.outError("aggre %u %u", spellId, (uint32)AISpellInfo[spellId].target); switch(AISpellInfo[spellId].target) |