From fed5145558f2ef531903b64215c83de6b490f586 Mon Sep 17 00:00:00 2001 From: Loki Date: Sun, 11 Aug 2024 09:34:36 +1000 Subject: [PATCH] fix: correct some mistyped IW6 funcs and tokens --- src/gsc/engine/iw6_pc_func.cpp | 2 +- src/gsc/engine/iw6_pc_token.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gsc/engine/iw6_pc_func.cpp b/src/gsc/engine/iw6_pc_func.cpp index 55246586..a9b4258c 100644 --- a/src/gsc/engine/iw6_pc_func.cpp +++ b/src/gsc/engine/iw6_pc_func.cpp @@ -502,7 +502,7 @@ extern std::array, func_count> const func_list { 0x1EA, "getmaxagents" }, { 0x1EB, "botdebugdrawtrigger" }, { 0x1EC, "botgetclosestnavigablepoint" }, - { 0x1ED, "gettnodesintrigger" }, + { 0x1ED, "getnodesintrigger" }, { 0x1EE, "nodesvisible" }, { 0x1EF, "getnodesonpath" }, { 0x1F0, "getzonecount" }, diff --git a/src/gsc/engine/iw6_pc_token.cpp b/src/gsc/engine/iw6_pc_token.cpp index 073efa16..b056ad3f 100644 --- a/src/gsc/engine/iw6_pc_token.cpp +++ b/src/gsc/engine/iw6_pc_token.cpp @@ -36613,8 +36613,8 @@ extern std::array, token_count> const token_list { 0x8EF8, "zpu_magic_bullets" }, { 0x8EF9, "zpu_range_squared" }, { 0x8EFA, "zpus_targeting" }, - { 0x8EFB, "destructible_scripts_toy_wall_fan" }, - { 0x8EFC, "destructible_scripts_vehicle_pickup" }, + { 0x8EFB, "destructible_scripts/toy_wall_fan" }, + { 0x8EFC, "destructible_scripts/vehicle_pickup" }, { 0x8EFD, "maps/createart/mp_alien_armory_art" }, { 0x8EFE, "maps/createart/mp_alien_armory_fog" }, { 0x8EFF, "maps/createart/mp_boneyard_ns_art" },