diff options
author | Filippos Karapetis | 2007-10-30 17:21:38 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-10-30 17:21:38 +0000 |
commit | ea644a036b1db25436ae088d8e83352d30b9ade7 (patch) | |
tree | 937f472d7965392ec6a6849009900d28ef1070e0 /engines | |
parent | 1f80f1f47e0f9c97e506ff9f72479aa548387965 (diff) | |
download | scummvm-rg350-ea644a036b1db25436ae088d8e83352d30b9ade7.tar.gz scummvm-rg350-ea644a036b1db25436ae088d8e83352d30b9ade7.tar.bz2 scummvm-rg350-ea644a036b1db25436ae088d8e83352d30b9ade7.zip |
Renamed a variable which is declared twice
svn-id: r29325
Diffstat (limited to 'engines')
-rw-r--r-- | engines/igor/parts/part_21.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/igor/parts/part_21.cpp b/engines/igor/parts/part_21.cpp index 2e4a39aec5..81f21204af 100644 --- a/engines/igor/parts/part_21.cpp +++ b/engines/igor/parts/part_21.cpp @@ -188,17 +188,17 @@ void IgorEngine::PART_21_ACTION_111() { memcpy(_screenVGA + i * 320 + offset, _animFramesBuffer + 0xCBE1 + i * 26, 26); } waitForTimer(100); - int i = 1; + int k = 1; do { if (compareGameTick(3, 24)) { for (int j = 0; j <= 49; ++j) { - memcpy(_screenVGA + j * 320 + offset, _animFramesBuffer + 0xBCA5 + PART_21_ANIM_DATA_2[i] * 1300 + j * 26, 26); + memcpy(_screenVGA + j * 320 + offset, _animFramesBuffer + 0xBCA5 + PART_21_ANIM_DATA_2[k] * 1300 + j * 26, 26); } - ++i; + ++k; } PART_21_UPDATE_ROOM_BACKGROUND(); waitForTimer(); - } while (i != 10); + } while (k != 10); IN_ACTION_111 = false; removeObjectFromInventory(56); _objectsState[65] = 1; |