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
This commit is contained in:
Torbjörn Andersson
2005-01-20 07:32:37 +00:00
parent 6f565c0ad8
commit ca58bfed3b
+1 -1
View File
@@ -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.