aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/cruise/function.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/cruise/function.cpp b/engines/cruise/function.cpp
index 0f0113afbf..fb67cef91c 100644
--- a/engines/cruise/function.cpp
+++ b/engines/cruise/function.cpp
@@ -709,9 +709,7 @@ int16 Op_GetMouseButton(void) {
getMouseStatus(&dummy, &mouseX, &mouseButton, &mouseY);
- if (mouseButton)
- return 1;
- return 0;
+ return mouseButton;
}
int16 Op_AddCell(void) {