diff --git a/src/client/component/command.cpp b/src/client/component/command.cpp index 41a25052..0c9ea785 100644 --- a/src/client/component/command.cpp +++ b/src/client/component/command.cpp @@ -266,7 +266,7 @@ namespace command private: static void add_commands_generic() { - add_test("quit", game::Com_Quit_f); + add("quit", game::Com_Quit_f); add("quit_hard", utils::nt::raise_hard_exception); add("crash", []() { diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 8298668d..5aed4aed 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -106,7 +106,7 @@ namespace game WEAK symbol cmd_functions{ 0x14AD99AB8,0x14946BAC8 }; // H1(1.4) WEAK symbol keyCatchers{ 0x14243DAF0,0x142D0BA9C }; // H1(1.4) WEAK symbol playerKeys{ 0x1422A873C,0x142C19AFC }; // H1(1.4) - WEAK symbol cmd_args{ 0x140000000, 0x140000000 }; //H1SP64[CODEX] + WEAK symbol cmd_args{ 0x14AD99960, 0x14946B970 }; // H1(1.4) //########################################################################################################################################################################### //########################################################################################################################################################################### @@ -135,8 +135,13 @@ namespace game WEAK symbol GetEntityFieldValue{ 0, 0x1405C6100 }; WEAK symbol G_GetWeaponForName{ 0, 0x14051B260 }; - WEAK symbol - G_GivePlayerWeapon{ 0, 0x14051B660 }; + //WEAK symbol + //G_GivePlayerWeapon{ 0, 0x14051B660 }; + + WEAK symbol + G_GivePlayerWeapon{ 0x1402C2DF0, 0x14051B660 }; // h1sp + WEAK symbol G_InitializeAmmo{ 0, 0x1404C4110 }; WEAK symbol G_SelectWeapon{ 0,0x14051C0D0 };