aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraczman <none@none>2009-05-23 16:06:02 +0200
committerraczman <none@none>2009-05-23 16:06:02 +0200
commit1b5f45cf0f59a127522356969ac7b7167a68cb65 (patch)
treed6a3ef04d92d9e43d17235e40f180d335cfc0e4a /src
parentf5f1caf6b67f53a4a2533fdd6ac260000fcb2bcc (diff)
Fixed windows build.
By the way, isnt it ironic that biggest software vendor cant get name scopes right? --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp6
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;
}