diff options
author | Johannes Schickel | 2014-05-04 18:26:31 +0200 |
---|---|---|
committer | Johannes Schickel | 2014-05-04 18:26:31 +0200 |
commit | 29da6e5b9bf7c1328a6e08f37c8d67228143293a (patch) | |
tree | b0c56adc5565d29dda696ca79dd5075d2924ca07 /engines | |
parent | ea359fe92a0d64ed49910366c3d58dc582d22a71 (diff) | |
download | scummvm-rg350-29da6e5b9bf7c1328a6e08f37c8d67228143293a.tar.gz scummvm-rg350-29da6e5b9bf7c1328a6e08f37c8d67228143293a.tar.bz2 scummvm-rg350-29da6e5b9bf7c1328a6e08f37c8d67228143293a.zip |
ZVISION: Small cleanup.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/sound/zork_raw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/sound/zork_raw.cpp b/engines/zvision/sound/zork_raw.cpp index a0441a55f9..edee1fd16e 100644 --- a/engines/zvision/sound/zork_raw.cpp +++ b/engines/zvision/sound/zork_raw.cpp @@ -185,7 +185,7 @@ Audio::RewindableAudioStream *makeRawZorkStream(const Common::String &filePath, char fileIdentifier = (engine->getGameId() == GID_NEMESIS) ? fileName[6] : fileName[7]; if (engine->getGameId() == GID_NEMESIS) { - for (int i = 0; i < 6; ++i) { + for (uint i = 0; i < ARRAYSIZE(RawZorkStream::_zNemSoundParamLookupTable); ++i) { if (RawZorkStream::_zNemSoundParamLookupTable[i].identifier == fileIdentifier) { soundParams = RawZorkStream::_zNemSoundParamLookupTable[i]; foundParams = true; |