Donetsk/hook_lib/mp_init.cpp
Sku-111 1f9319f845 added custom weapdef loading
added custom weapdef loading/dumping
moved LoadInventory & autoexec back to PartyHost_StartPrivateParty_Detour
2023-11-01 20:08:30 +01:00

9 lines
324 B
C++

#include "mp_init.h"
#include "game_inc.h"
void CG_MainMP_Init_Detour(int localClientNum, int serverMessageNum, int serverCommandSequence, int clientNum, void* hunkUser)
{
cg_mainmp_init.stub<void>(localClientNum, serverMessageNum, serverCommandSequence, clientNum, hunkUser);
Cbuf_AddText("set cl_textChatEnabled 1");
}