aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/scalpel/scalpel_user_interface.h2
-rw-r--r--engines/sherlock/talk.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/scalpel_user_interface.h b/engines/sherlock/scalpel/scalpel_user_interface.h
index 552bcf00c5..67ba42b5a2 100644
--- a/engines/sherlock/scalpel/scalpel_user_interface.h
+++ b/engines/sherlock/scalpel/scalpel_user_interface.h
@@ -51,7 +51,7 @@ private:
int _lookHelp;
int _bgFound, _oldBgFound;
int _help, _oldHelp;
- char _key, _oldKey;
+ int _key, _oldKey;
int _temp, _oldTemp;
int _oldLook;
bool _keyboardInput;
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index bb5c11c81f..d48b66cf8b 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -1026,7 +1026,7 @@ void Talk::pushSequence(int speaker) {
void Talk::pushTalkSequence(Object *obj) {
// Check if the shape is already on the stack
for (uint idx = 0; idx < TALK_SEQUENCE_STACK_SIZE; ++idx) {
- if (_talkSequenceStack[idx]._obj = obj)
+ if (_talkSequenceStack[idx]._obj == obj)
return;
}