aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <gmstreetrat@gmail.com>2014-11-22 17:33:37 +0100
committerRat <gmstreetrat@gmail.com>2014-11-22 17:33:37 +0100
commit42fa46a11d7ee09054fa3e759307e2a7318b4d71 (patch)
tree538d5846f4eeaa06cf34d0c907fe04b47923c376 /src
parent926a37a3054defd6d0ad826e4520e6695c67927b (diff)
Core/Spell: Critical code fix
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/CoreAI/UnitAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CoreAI/UnitAI.cpp b/src/server/game/AI/CoreAI/UnitAI.cpp
index 911efa909f6..08832f73295 100644
--- a/src/server/game/AI/CoreAI/UnitAI.cpp
+++ b/src/server/game/AI/CoreAI/UnitAI.cpp
@@ -227,7 +227,7 @@ void UnitAI::FillAISpellInfo()
UPDATE_TARGET(AITARGET_SELF)
else
{
- for (SpellEffectInfo const* effect: spellInfo->GetEffectsForDifficulty(DIFFICULTY_NONE))
+ for (SpellEffectInfo const* effect : spellInfo->GetEffectsForDifficulty(DIFFICULTY_NONE))
{
if (!effect)
continue;