aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/string.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 589c4fc0a6..044d0ea135 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -388,6 +388,11 @@ loc_avoid_ks_fe:
VAR(VAR_CHARCOUNT)++;
} else
_talkDelay += (int)VAR(VAR_CHARINC);
+
+ // Handle line breaks for V1-V3
+ if (_version <= 3 && _charset->_nextLeft >= _screenWidth) {
+ goto newLine;
+ }
}
} while (c != 2 && c != 3);