diff options
author | Travis Howell | 2004-09-07 13:11:00 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-07 13:11:00 +0000 |
commit | 88b9335b275cf8f3761aba917f710073f5db58bc (patch) | |
tree | b4f11739001312948bb97daca9903340418ff188 | |
parent | 8e5aa391c2c06c744038a01f8340314d58e07573 (diff) | |
download | scummvm-rg350-88b9335b275cf8f3761aba917f710073f5db58bc.tar.gz scummvm-rg350-88b9335b275cf8f3761aba917f710073f5db58bc.tar.bz2 scummvm-rg350-88b9335b275cf8f3761aba917f710073f5db58bc.zip |
Ooops
svn-id: r14943
-rw-r--r-- | scumm/script_v72he.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 570e34cf33..48a3e0262b 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -579,7 +579,8 @@ void ScummEngine_v72he::o72_pushDWord() { } void ScummEngine_v72he::o72_addMessageToStack() { - addMessageToStack(_scriptPointer, _stringBuffer, 4096); + _stringLength = resStrLen(_scriptPointer) + 1; + addMessageToStack(_scriptPointer, _stringBuffer, _stringLength); debug(0,"o72_addMessageToStack(\"%s\")", _scriptPointer); |