aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/main_loop.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp
index 3e130cf781..6b53012171 100644
--- a/engines/cine/main_loop.cpp
+++ b/engines/cine/main_loop.cpp
@@ -64,6 +64,18 @@ void manageEvents(int count) {
break;
case OSystem::EVENT_KEYDOWN:
switch (event.kbd.keycode) {
+ case '\n':
+ case '\r':
+ case 261: // Keypad 5
+ if (allowPlayerInput) {
+ mouseLeft = 1;
+ }
+ break;
+ case 27: // ESC
+ if (allowPlayerInput) {
+ mouseRight = 1;
+ }
+ break;
case 282: // F1
if (allowPlayerInput) {
playerCommand = 0; // EXAMINE