From c7e7b88af12b098444a6281bc237d23a7a2f7ae0 Mon Sep 17 00:00:00 2001 From: fed <58637860+fedddddd@users.noreply.github.com> Date: Sun, 25 Sep 2022 21:09:11 +0200 Subject: [PATCH] Fix build --- src/client/component/gsc.cpp | 2 +- src/client/game/symbols.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/component/gsc.cpp b/src/client/component/gsc.cpp index 68985991..b9123766 100644 --- a/src/client/component/gsc.cpp +++ b/src/client/component/gsc.cpp @@ -588,7 +588,7 @@ namespace gsc namespace method { - void add(const std::string& name, scripting::script_function method) + void add(const std::string& name, builtin_method method) { if (xsk::gsc::h1::resolver::find_method(name)) { diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index e9a593d7..c4a40c37 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -158,9 +158,9 @@ namespace game WEAK symbol Scr_NotifyId{0x3C92E0, 0x510340}; WEAK symbol Scr_AllocVector{0x3C42D0, 0x50B330}; - WEAK symbol Scr_GetFloat{0x3C87D0, 0x50F870}; - WEAK symbol Scr_GetString{0x3C8CC0, 0x50FCB0}; - WEAK symbol Scr_GetNumParam{0x3C89E0, 0x50F9D0}; + WEAK symbol Scr_GetFloat{0x3C87D0, 0x50F870}; + WEAK symbol Scr_GetString{0x3C8CC0, 0x50FCB0}; + WEAK symbol Scr_GetNumParam{0x3C89E0, 0x50F9D0}; WEAK symbol Scr_ClearOutParams{0x3C7EF0, 0x50F070}; WEAK symbol Scr_GetEntityIdRef{0x3C6760, 0x50D8E0}; WEAK symbol Scr_GetEntityId{0x3C66B0, 0x50D830};