diff options
-rw-r--r-- | scumm/string.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 0a7f01ee08..1e1ee80434 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) { |