aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-10 10:46:11 +0000
committerFilippos Karapetis2009-10-10 10:46:11 +0000
commitba297ab7b14afff874d4b6731969ddab45eec6d1 (patch)
treebcbb3334f237d52ca99eea9199c4e2beacb7ce57
parenta4fbc73ee65db07b8bbc3a7e37bdb6cf19d63e07 (diff)
downloadscummvm-rg350-ba297ab7b14afff874d4b6731969ddab45eec6d1.tar.gz
scummvm-rg350-ba297ab7b14afff874d4b6731969ddab45eec6d1.tar.bz2
scummvm-rg350-ba297ab7b14afff874d4b6731969ddab45eec6d1.zip
Replaced make_reg(0, -1) with SIGNAL_REG and fixed a warning (MessageRecord is a struct)
svn-id: r44865
-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;