From 6671e36d8b2346245abc0be1ecfe9836f5457ed0 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Sun, 4 Sep 2005 15:06:17 +0000 Subject: fixed crash in Sound::openSfxFile() svn-id: r18771 --- scumm/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/sound.cpp') 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"; -- cgit v1.2.3