aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorJohannes Schickel2014-05-04 18:26:31 +0200
committerJohannes Schickel2014-05-04 18:26:31 +0200
commit29da6e5b9bf7c1328a6e08f37c8d67228143293a (patch)
treeb0c56adc5565d29dda696ca79dd5075d2924ca07 /engines/zvision
parentea359fe92a0d64ed49910366c3d58dc582d22a71 (diff)
downloadscummvm-rg350-29da6e5b9bf7c1328a6e08f37c8d67228143293a.tar.gz
scummvm-rg350-29da6e5b9bf7c1328a6e08f37c8d67228143293a.tar.bz2
scummvm-rg350-29da6e5b9bf7c1328a6e08f37c8d67228143293a.zip
ZVISION: Small cleanup.
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/sound/zork_raw.cpp2
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;