diff options
author | Strangerke | 2012-02-15 01:48:58 +0100 |
---|---|---|
committer | Strangerke | 2012-02-15 01:48:58 +0100 |
commit | 8faf01647817e8882164c567d644d0af616583eb (patch) | |
tree | b8f5013bf3177f2b68eefb27acdc9bddee079ae1 | |
parent | dc229b893e1d0e4aa0ca8d2c5c3cd695e38f8942 (diff) | |
download | scummvm-rg350-8faf01647817e8882164c567d644d0af616583eb.tar.gz scummvm-rg350-8faf01647817e8882164c567d644d0af616583eb.tar.bz2 scummvm-rg350-8faf01647817e8882164c567d644d0af616583eb.zip |
TSAGE: R2R - Scene 1337: Fix a shadowed variable
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp index 6268978310..cf8d214d6b 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp @@ -4359,8 +4359,8 @@ void Scene1337::subC2C2F() { if ((_arrunkObj1337[3]._arr2[i]._field34 == 1) && (!subC2687(_arrunkObj1337[3]._arr3[i]._field34))) { int tmpVal = 0; - for (int i = 0; i <= 7; i++) { - if ((_arrunkObj1337[3]._arr2[i]._field34 > 1) && (_arrunkObj1337[3]._arr2[i]._field34 <= 9)) + for (int j = 0; j <= 7; j++) { + if ((_arrunkObj1337[3]._arr2[j]._field34 > 1) && (_arrunkObj1337[3]._arr2[j]._field34 <= 9)) ++tmpVal; } |