From 175ef8f1cd3e4b26e4af5b6afca779ff7ee497c8 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 12 Sep 2004 06:00:56 +0000 Subject: [PATCH] Skip speech name in subtitles. svn-id: r15018 --- scumm/string.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scumm/string.cpp b/scumm/string.cpp index 0a7f01ee084..1e1ee804345 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -503,6 +503,11 @@ int ScummEngine::addMessageToStack(const byte *msg, byte *dst, int dstSize) { while (1) { chr = src[num++]; + if (_heversion >= 99 && chr == '[') { + while (src[num++] != ']'); + continue; + } + if (chr == 0) break; if (chr == 0xFF) {