diff options
author | Travis Howell | 2004-09-12 06:00:56 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-12 06:00:56 +0000 |
commit | 175ef8f1cd3e4b26e4af5b6afca779ff7ee497c8 (patch) | |
tree | 6b54daecb05fc9a37203a6692b60ef7ccabc7fd6 /scumm | |
parent | 3b9def962c53a9aa9e0a2bd1a7de4d1cb24788e7 (diff) | |
download | scummvm-rg350-175ef8f1cd3e4b26e4af5b6afca779ff7ee497c8.tar.gz scummvm-rg350-175ef8f1cd3e4b26e4af5b6afca779ff7ee497c8.tar.bz2 scummvm-rg350-175ef8f1cd3e4b26e4af5b6afca779ff7ee497c8.zip |
Skip speech name in subtitles.
svn-id: r15018
Diffstat (limited to 'scumm')
-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) { |