aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorGregory Montoir2005-09-04 15:06:17 +0000
committerGregory Montoir2005-09-04 15:06:17 +0000
commit6671e36d8b2346245abc0be1ecfe9836f5457ed0 (patch)
tree28717a3a3bba605077d48401e64f437bbd20cf68 /scumm/sound.cpp
parent13e31a53281aba471d6f47c981f3378b5842409e (diff)
downloadscummvm-rg350-6671e36d8b2346245abc0be1ecfe9836f5457ed0.tar.gz
scummvm-rg350-6671e36d8b2346245abc0be1ecfe9836f5457ed0.tar.bz2
scummvm-rg350-6671e36d8b2346245abc0be1ecfe9836f5457ed0.zip
fixed crash in Sound::openSfxFile()
svn-id: r18771
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 2ef441d031..24d68e6801 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -1142,7 +1142,7 @@ ScummFile *Sound::openSfxFile() {
* That way, you can keep .sou files for multiple games in the
* same directory */
- const char *basename[3] = { 0, 0, 0 };
+ const char *basename[4] = { 0, 0, 0, 0 };
basename[0] = _vm->getGameName();
basename[1] = "monster";