aboutsummaryrefslogtreecommitdiff
path: root/sword2/function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/function.cpp')
-rw-r--r--sword2/function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp
index 586253314f..012a1da211 100644
--- a/sword2/function.cpp
+++ b/sword2/function.cpp
@@ -82,7 +82,7 @@ int32 Logic::fnInteract(int32 *params) {
PLAYER_ACTION = 0;
// 3rd script of clicked on id
- logicUp((params[0] < 16) | 2);
+ logicUp((params[0] < 16) + 2);
// out, up and around again - pc is saved for current level to be
// returned to