From ed35ad9c738a536b6c788b9f473834e82cbe9c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xenxo=20Espasand=C3=ADn?= Date: Sat, 11 Feb 2023 00:16:00 +0100 Subject: [PATCH] fix(iw5): console reference opcodes (#60) --- src/iw5/iw5_ps_code.cpp | 4 ++-- src/iw5/iw5_xb_code.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/iw5/iw5_ps_code.cpp b/src/iw5/iw5_ps_code.cpp index 3276f10b..213369d0 100644 --- a/src/iw5/iw5_ps_code.cpp +++ b/src/iw5/iw5_ps_code.cpp @@ -35,8 +35,8 @@ extern std::array, code_count> const code_list { 0x16, opcode::OP_GetAnim }, { 0x17, opcode::OP_GetAnimation }, { 0x18, opcode::OP_GetGameRef }, - { 0x1A, opcode::OP_GetLocalFunction }, - { 0x19, opcode::OP_GetFarFunction }, + { 0x19, opcode::OP_GetLocalFunction }, + { 0x1A, opcode::OP_GetFarFunction }, { 0x1B, opcode::OP_CreateLocalVariable }, { 0x1C, opcode::OP_RemoveLocalVariables }, { 0x1D, opcode::OP_EvalLocalVariableCached0 }, diff --git a/src/iw5/iw5_xb_code.cpp b/src/iw5/iw5_xb_code.cpp index 8e2d44bc..da8e6e46 100644 --- a/src/iw5/iw5_xb_code.cpp +++ b/src/iw5/iw5_xb_code.cpp @@ -35,8 +35,8 @@ extern std::array, code_count> const code_list { 0x16, opcode::OP_GetAnim }, { 0x17, opcode::OP_GetAnimation }, { 0x18, opcode::OP_GetGameRef }, - { 0x1A, opcode::OP_GetLocalFunction }, - { 0x19, opcode::OP_GetFarFunction }, + { 0x19, opcode::OP_GetLocalFunction }, + { 0x1A, opcode::OP_GetFarFunction }, { 0x1B, opcode::OP_CreateLocalVariable }, { 0x1C, opcode::OP_RemoveLocalVariables }, { 0x1D, opcode::OP_EvalLocalVariableCached0 },