aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v2.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 3d7f46d420..99f9ea76f0 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -2962,7 +2962,6 @@ void Scumm::o6_kernelFunction()
push(_objs[i].height);
break;
case 211:
- warning("o6_kernelFunction: getInput(%d)", args[1]);
/*
13 = thrust
336 = thrust
@@ -2973,6 +2972,15 @@ void Scumm::o6_kernelFunction()
115 = right
333 = tight
*/
+
+ //FIXME: this is hack to allow turn on light bridge,
+ //How to check is left button pressed ?
+ if ((_gameId == GID_DIG) && (args[1] == 13)) {
+ push(1);
+ break;
+ }
+
+ warning("o6_kernelFunction: getInput(%d)", args[1]);
push(0);
break;
case 212: