diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 570e34cf333..48a3e0262ba 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);