aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/globals.cpp')
-rw-r--r--engines/m4/globals.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/m4/globals.cpp b/engines/m4/globals.cpp
index 98d007f67e..56f78ce835 100644
--- a/engines/m4/globals.cpp
+++ b/engines/m4/globals.cpp
@@ -47,7 +47,7 @@ Kernel::Kernel(M4Engine *vm) : _vm(vm) {
previousRoom = 0;
trigger = 0;
triggerMode = KT_DAEMON;
-
+
_globalDaemonFn = NULL;
_globalParserFn = NULL;
@@ -88,17 +88,17 @@ bool Kernel::handleTrigger(int32 triggerNum) {
bool result = false;
int room = (triggerNum >> 16) & 0xFFF;
-
+
printf("room = %d; currentRoom = %d\n", room, currentRoom); fflush(stdout);
-
+
if (room != currentRoom) {
printf("Kernel::handleTrigger() Trigger from another room\n");
return false;
}
-
+
trigger = triggerNum & 0xFFFF;
KernelTriggerType mode = (KernelTriggerType)(triggerNum >> 28);
-
+
switch (mode) {
case KT_PREPARSE: