From ca58bfed3bb8a31bfd88b84ad376186b1ef83cce Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Thu, 20 Jan 2005 07:32:37 +0000 Subject: Fixed bug that I must have introduced during one of my cleanups. The original code read "LLogic.Logic_up( (*params*65536)+2);". I don't know where this opcode is actually used, though. svn-id: r16600 --- sword2/function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3