aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/talk.cpp2
-rw-r--r--engines/sherlock/talk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 6b122b4f1e..9983a30bda 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -1200,7 +1200,7 @@ int Talk::waitForMore(int delay) {
return key2;
}
-inline bool Talk::isOpcode(byte checkCharacter) {
+bool Talk::isOpcode(byte checkCharacter) {
if ((checkCharacter < _opcodes[0]) || (checkCharacter >= (_opcodes[0] + 99)))
return false; // outside of range
if (_opcodeTable[checkCharacter - _opcodes[0]])
diff --git a/engines/sherlock/talk.h b/engines/sherlock/talk.h
index 3a85c5d6d9..ae95cf91e1 100644
--- a/engines/sherlock/talk.h
+++ b/engines/sherlock/talk.h
@@ -258,7 +258,7 @@ protected:
/**
* Checks, if a character is an opcode
*/
- virtual inline bool isOpcode(byte checkCharacter);
+ virtual bool isOpcode(byte checkCharacter);
/**
* Display the talk interface window