13 lines
380 B
C++
13 lines
380 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("exec autoexec.cfg");
|
|
|
|
LoadInventory();
|
|
|
|
Cbuf_AddText("set cl_textChatEnabled 1");
|
|
} |