From d1713410f2462ebdb7c601dab0fbf46803b2f74c Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Thu, 27 Jan 2005 12:08:09 +0000 Subject: fix for shadowed variable svn-id: r16643 --- scumm/imuse_digi/dimuse_sndmgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm') 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); -- cgit v1.2.3