diff options
-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); |