aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2004-12-11 23:34:34 +0000
committerMax Horn2004-12-11 23:34:34 +0000
commit3891c0fa39c35f84b6eea3ad5001125806160938 (patch)
treebfaa7749c5d1eb2301f2a9f0c30372e6782f45ca /scumm
parent369e31a41c87a38da018a3350da53dd914a7065e (diff)
downloadscummvm-rg350-3891c0fa39c35f84b6eea3ad5001125806160938.tar.gz
scummvm-rg350-3891c0fa39c35f84b6eea3ad5001125806160938.tar.bz2
scummvm-rg350-3891c0fa39c35f84b6eea3ad5001125806160938.zip
change loadVOCFromStream to take a reference instead of a pointer (to a stream)
svn-id: r16035
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index e4ab81c99c..720909480b 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1017,7 +1017,7 @@ void Sound::startSfxSound(File *file, int file_size, PlayingSoundHandle *handle,
#endif
break;
default:
- input = makeVOCStream(_sfxFile);
+ input = makeVOCStream(*_sfxFile);
}
if (!input) {