diff options
-rw-r--r-- | sword2/function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/function.cpp b/sword2/function.cpp index 9c9199cc44..d7a2b1663f 100644 --- a/sword2/function.cpp +++ b/sword2/function.cpp @@ -73,7 +73,7 @@ int32 Logic::fnInteract(int32 *params) { // reference _scriptVars[PLAYER_ACTION] = 0; // must clear this - logicUp((params[0] < 16) + 2); // 3rd script of clicked on id + logicUp((params[0] << 16) | 2); // 3rd script of clicked on id // Out, up and around again - pc is saved for current level to be // returned to. |