aboutsummaryrefslogtreecommitdiff
path: root/sound.cpp
diff options
context:
space:
mode:
authorRuediger Hanke2002-04-29 09:28:47 +0000
committerRuediger Hanke2002-04-29 09:28:47 +0000
commit991d988b23128144c9a281f639acaf5575d2ff11 (patch)
treeef3eee62522d6cf8e0d610828068b7b1abf408e2 /sound.cpp
parenteefae397da6ab4d21fe8d85ce2bf96286e0d771c (diff)
downloadscummvm-rg350-991d988b23128144c9a281f639acaf5575d2ff11.tar.gz
scummvm-rg350-991d988b23128144c9a281f639acaf5575d2ff11.tar.bz2
scummvm-rg350-991d988b23128144c9a281f639acaf5575d2ff11.zip
Fix compile error (old-style ANSI for scoping)
svn-id: r4132
Diffstat (limited to 'sound.cpp')
-rw-r--r--sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound.cpp b/sound.cpp
index a8628f0e12..0c7dde35b5 100644
--- a/sound.cpp
+++ b/sound.cpp
@@ -554,9 +554,10 @@ void *Scumm::openSfxFile()
for (int i=0; i < num_files; i++) {
char filename[13], c;
int z = 0;
+ int z2;
/* Construct filename */
- for (int z2=0;z2<8; z2++)
+ for (z2=0;z2<8; z2++)
if ((c = fileReadByte(file)) != 0)
filename[z++] = c;
filename[z++] = '.';