diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 537087480a5..b75b388a7c7 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5504,8 +5504,8 @@ void Spell::EffectMomentMove(uint32 i) step = dist/10.0f; } - - for(int i = 0;i<10;i++) + int j = 0; + for(j; j<10 ;j++) { if(fabs(z - destz) > 6) { @@ -5517,7 +5517,7 @@ void Spell::EffectMomentMove(uint32 i) }else break; } - if(i == 9) + if(j == 9) { return; } |