Merge pull request #283 from Brentdevent/steam_update
Fix wrong function hook
This commit is contained in:
commit
3dbe6a7798
@ -456,7 +456,7 @@ namespace ui_scripting
|
||||
hks_package_require_hook.create(game::select(0x141D28EF0, 0x1403D7FC0), hks_package_require_stub);
|
||||
ui_cod_init_hook.create(game::UI_CoD_Init, ui_cod_init_stub);
|
||||
ui_cod_lobbyui_init_hook.create(game::UI_CoD_LobbyUI_Init, ui_cod_lobbyui_init_stub);
|
||||
ui_shutdown_hook.create(game::UI_CoD_Shutdown, ui_shutdown_stub);
|
||||
ui_shutdown_hook.create(game::select(0x14270DE00, 0x1404A1280), ui_shutdown_stub);
|
||||
lua_cod_getrawfile_hook.create(game::select(0x141F0EFE0, 0x1404BCB70), lua_cod_getrawfile_stub);
|
||||
|
||||
if (game::is_server())
|
||||
|
@ -101,7 +101,7 @@ namespace game
|
||||
// UI
|
||||
WEAK symbol<void(bool frontend)> UI_CoD_Init{0x141F29010, 0x1404A0A50};
|
||||
WEAK symbol<void()> UI_CoD_LobbyUI_Init{0x141F2BD80, 0x1404A1F50};
|
||||
WEAK symbol<void()> UI_CoD_Shutdown{0x141F32E10, 0x1404A1280};
|
||||
WEAK symbol<void()> UI_CoD_Shutdown{0x141F32E10, 0x0};
|
||||
WEAK symbol<void(const char*, const char*, int, game::hks::lua_State*)> UI_AddMenu{0x1427018F0, 0x0};
|
||||
WEAK symbol<const char* (int)> UI_CoD_GetRootNameForController{0x141F28940, 0x0};
|
||||
WEAK symbol<void(game::hks::lua_State*, const char*)> Lua_CoD_LoadLuaFile{0x141F11A20, 0x0};
|
||||
|
Loading…
Reference in New Issue
Block a user