diff options
author | Gregory Montoir | 2005-09-04 15:06:17 +0000 |
---|---|---|
committer | Gregory Montoir | 2005-09-04 15:06:17 +0000 |
commit | 6671e36d8b2346245abc0be1ecfe9836f5457ed0 (patch) | |
tree | 28717a3a3bba605077d48401e64f437bbd20cf68 | |
parent | 13e31a53281aba471d6f47c981f3378b5842409e (diff) | |
download | scummvm-rg350-6671e36d8b2346245abc0be1ecfe9836f5457ed0.tar.gz scummvm-rg350-6671e36d8b2346245abc0be1ecfe9836f5457ed0.tar.bz2 scummvm-rg350-6671e36d8b2346245abc0be1ecfe9836f5457ed0.zip |
fixed crash in Sound::openSfxFile()
svn-id: r18771
-rw-r--r-- | scumm/sound.cpp | 2 |
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"; |