aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 78b9a8aecd..92c309c247 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -989,7 +989,7 @@ void Scumm_v2::o2_drawSentence() {
else
_string[2].color = 13;
- sentence[80] = 0;
+ sentence[41] = 0; // Maximal length: 40 characters
_messagePtr = (byte*)sentence;
sentenceline.top = virtscr[2].topline;