aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kstring.cpp2
-rw-r--r--engines/sci/engine/message.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp
index 77c8310159..2f8ea1f33c 100644
--- a/engines/sci/engine/kstring.cpp
+++ b/engines/sci/engine/kstring.cpp
@@ -662,7 +662,7 @@ reg_t kMessage(EngineState *s, int argc, reg_t *argv) {
}
}
- return make_reg(0, -1);
+ return SIGNAL_REG;
}
case K_MESSAGE_LASTMESSAGE: {
MessageTuple msg;
diff --git a/engines/sci/engine/message.h b/engines/sci/engine/message.h
index c07a937201..43ddb29d78 100644
--- a/engines/sci/engine/message.h
+++ b/engines/sci/engine/message.h
@@ -33,7 +33,7 @@
namespace Sci {
class SegManager;
-class MessageRecord;
+struct MessageRecord;
struct MessageTuple {
byte noun;