diff options
author | Paweł Kołodziejski | 2003-11-17 22:52:21 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-11-17 22:52:21 +0000 |
commit | 3ec24507ca70a925c2063ae87e5e9e41d8648e4f (patch) | |
tree | 7765bab064f6f1fff19be2044e17b9bbb66e3104 /scumm | |
parent | 5334ce49a884158c4f228f94a4a8fd05bf9eab12 (diff) | |
download | scummvm-rg350-3ec24507ca70a925c2063ae87e5e9e41d8648e4f.tar.gz scummvm-rg350-3ec24507ca70a925c2063ae87e5e9e41d8648e4f.tar.bz2 scummvm-rg350-3ec24507ca70a925c2063ae87e5e9e41d8648e4f.zip |
added voice support for mac dig demo
svn-id: r11330
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index e6dd3cd356..d917fcc94d 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -534,11 +534,15 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, PlayingSoundHandle return; } - sprintf(filename, "audio/%s.%d/%d.voc", roomname, offset, b); _sfxFile->close(); + sprintf(filename, "audio/%s.%d/%d.voc", roomname, offset, b); _sfxFile->open(filename); if (!_sfxFile->isOpen()) { - warning("startTalkSound: dig demo: voc file not found: %s", filename); + sprintf(filename, "%d.%d.voc", offset, b); + _sfxFile->open(filename); + } + if (!_sfxFile->isOpen()) { + warning("startTalkSound: dig demo: voc file not found"); return; } |