diff options
author | Torbjörn Andersson | 2005-12-12 19:22:49 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-12-12 19:22:49 +0000 |
commit | 01c32489059d5450bfd2c1ad77a5ec24d797d30d (patch) | |
tree | 03c6dfd9c06838510263afb47d59421e644df3b9 /kyra/kyra.cpp | |
parent | 080039cf1437bfc2de9716f40612dd4379dc7853 (diff) | |
download | scummvm-rg350-01c32489059d5450bfd2c1ad77a5ec24d797d30d.tar.gz scummvm-rg350-01c32489059d5450bfd2c1ad77a5ec24d797d30d.tar.bz2 scummvm-rg350-01c32489059d5450bfd2c1ad77a5ec24d797d30d.zip |
Increased size of VOC filename buffer to accomodate for 1000.VOC and
beyond. (Fixes a failed assertion for me.)
svn-id: r19785
Diffstat (limited to 'kyra/kyra.cpp')
-rw-r--r-- | kyra/kyra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp index 91b8fdac69..36bfd55294 100644 --- a/kyra/kyra.cpp +++ b/kyra/kyra.cpp @@ -910,7 +910,7 @@ void KyraEngine::snd_playSoundEffect(int track) { void KyraEngine::snd_playVoiceFile(int id) { debug(9, "KyraEngine::snd_playVoiceFile(%d)", id); - char vocFile[8]; + char vocFile[9]; assert(id >= 0 && id < 9999); sprintf(vocFile, "%03d.VOC", id); uint32 fileSize = 0; |