aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2005-01-27 12:08:09 +0000
committerPaweł Kołodziejski2005-01-27 12:08:09 +0000
commitd1713410f2462ebdb7c601dab0fbf46803b2f74c (patch)
tree8af0555c375ddd2699cc14013cf64560dd49a6f9 /scumm
parent4aa9f43879bb3dbbdf329212af904a7d44f31187 (diff)
downloadscummvm-rg350-d1713410f2462ebdb7c601dab0fbf46803b2f74c.tar.gz
scummvm-rg350-d1713410f2462ebdb7c601dab0fbf46803b2f74c.tar.bz2
scummvm-rg350-d1713410f2462ebdb7c601dab0fbf46803b2f74c.zip
fix for shadowed variable
svn-id: r16643
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse_digi/dimuse_sndmgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/imuse_digi/dimuse_sndmgr.cpp b/scumm/imuse_digi/dimuse_sndmgr.cpp
index 65fe442a9d..f7b8016daf 100644
--- a/scumm/imuse_digi/dimuse_sndmgr.cpp
+++ b/scumm/imuse_digi/dimuse_sndmgr.cpp
@@ -565,8 +565,8 @@ int32 ImuseDigiSndMgr::getDataFromRegion(soundStruct *soundHandle, int region, b
char fileName[24];
sprintf(fileName, "%s_reg%03d.ogg", soundHandle->name, region);
if (scumm_stricmp(fileName, soundHandle->lastFileName) != 0) {
- int32 offset = 0, size = 0;
- File *oggFile = soundHandle->bundle->getFile(fileName, offset, size);
+ int32 offs = 0, size = 0;
+ File *oggFile = soundHandle->bundle->getFile(fileName, offs, size);
if (!soundHandle->compressedStream) {
soundHandle->compressedStream = makeVorbisStream(oggFile, size);
assert(soundHandle->compressedStream);