aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/talk.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-10-04 20:56:13 -0400
committerPaul Gilbert2015-10-04 20:56:13 -0400
commite73a50c6c53bffcf10f044377a72cf754b524bf9 (patch)
tree6964c79b740c55861de1e1312ca65e14bca25f61 /engines/sherlock/talk.cpp
parentf6b647c420e1525f3127820fb404b2bc1df9c66e (diff)
downloadscummvm-rg350-e73a50c6c53bffcf10f044377a72cf754b524bf9.tar.gz
scummvm-rg350-e73a50c6c53bffcf10f044377a72cf754b524bf9.tar.bz2
scummvm-rg350-e73a50c6c53bffcf10f044377a72cf754b524bf9.zip
SHERLOCK: SS: Fix invalid characters when displaying journal
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r--engines/sherlock/talk.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index e399c268ed..4150835fb8 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -915,6 +915,8 @@ bool Talk::isOpcode(byte checkCharacter) {
}
bool Talk::isPossibleOpcode(byte checkCharacter) {
+ // Some conversations in the Spanish version, such as the first conversation with Lastrade,
+ // start with an invalid character. Hence isPossibleOpcode being separate from isOpcode
if (IS_SERRATED_SCALPEL && _vm->getLanguage() == Common::ES_ESP)
return checkCharacter >= 128;