This commit is contained in:
Joelrau 2021-01-08 02:10:27 +02:00
parent 8db47ab865
commit 2129d87131
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ namespace binding
} }
// write all bindings to config file // write all bindings to config file
utils::hook::call(SELECT_VALUE(0x1, 0x1402081CB), key_write_bindings_to_buffer_stub); utils::hook::call(SELECT_VALUE(0x14013F90B, 0x1402081CB), key_write_bindings_to_buffer_stub);
// links a custom command to an index // links a custom command to an index
utils::hook::jump(SELECT_VALUE(0x1402EE5A0, 0x1403AFB50), key_get_binding_for_cmd_stub); utils::hook::jump(SELECT_VALUE(0x1402EE5A0, 0x1403AFB50), key_get_binding_for_cmd_stub);

View File

@ -42,7 +42,7 @@ namespace branding
} }
localized_strings::override("LUA_MENU_LEGAL_COPYRIGHT", "S1-Mod: " VERSION); localized_strings::override("LUA_MENU_LEGAL_COPYRIGHT", "S1-Mod: " VERSION);
dvars::override::Dvar_SetString("version", utils::string::va("IW6x %s", VERSION)); dvars::override::Dvar_SetString("version", utils::string::va("S1-Mod %s", VERSION));
ui_get_formatted_build_number_hook.create(SELECT_VALUE(0x14035B3F0, 0x1404A8950), ui_get_formatted_build_number_stub); ui_get_formatted_build_number_hook.create(SELECT_VALUE(0x14035B3F0, 0x1404A8950), ui_get_formatted_build_number_stub);