diff options
author | Torbjörn Andersson | 2008-06-28 16:00:04 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2008-06-28 16:00:04 +0000 |
commit | 0184a7b0f9a5bbe4946c2e854f5cbe3c92457474 (patch) | |
tree | 718275ae0a2c7ae5285e48044b3f07ec1003d188 /engines | |
parent | 3f878008dacf420fe48615fd45ae732dc13b1a54 (diff) | |
download | scummvm-rg350-0184a7b0f9a5bbe4946c2e854f5cbe3c92457474.tar.gz scummvm-rg350-0184a7b0f9a5bbe4946c2e854f5cbe3c92457474.tar.bz2 scummvm-rg350-0184a7b0f9a5bbe4946c2e854f5cbe3c92457474.zip |
Fixed warning. (Hopefully without breaking anything.)
svn-id: r32830
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/sound_towns.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp index 4971d39178..92e39fc769 100644 --- a/engines/kyra/sound_towns.cpp +++ b/engines/kyra/sound_towns.cpp @@ -1716,13 +1716,13 @@ void TownsPC98_OpnDriver::fadeOut() { lock(); uint32 dTime = _tickCounter + 2; - for (int i = 0; i < _numChan; i++) { - if (_updateChannelsFlag & _channels[i]->idFlag) { - uint8 tmp = _channels[i]->totalLevel + 3; + for (int j = 0; j < _numChan; j++) { + if (_updateChannelsFlag & _channels[j]->idFlag) { + uint8 tmp = _channels[j]->totalLevel + 3; if (tmp > 0x7f) tmp = 0x7f; - _channels[i]->totalLevel = tmp; - setOutputLevel(_channels[i]); + _channels[j]->totalLevel = tmp; + setOutputLevel(_channels[j]); } } unlock(); |