This commit is contained in:
6arelyFuture 2021-12-26 18:48:52 +01:00
parent 45d7c3daf5
commit c006b315c0
Signed by: Future
GPG Key ID: FA77F074E98D98A5
2 changed files with 2 additions and 3 deletions

View File

@ -101,7 +101,7 @@ namespace scheduler
void cl_frame_stub(game::LocalClientNum_t local) void cl_frame_stub(game::LocalClientNum_t local)
{ {
reinterpret_cast<void (*)(game::LocalClientNum_t)>(0x041C9B0)(local); reinterpret_cast<void (*)(game::LocalClientNum_t)>(0x41C9B0)(local);
execute(pipeline::client); execute(pipeline::client);
} }
} }
@ -162,7 +162,7 @@ namespace scheduler
async_thread_id = thread.get_id(); async_thread_id = thread.get_id();
utils::hook::call(0x04E4A0D, cl_frame_stub); utils::hook::call(0x4E4A0D, cl_frame_stub);
} }
}; };
} }

View File

@ -40,7 +40,6 @@ namespace user_info
char bigTitle[_MAX_U64TOSTR_BASE2_COUNT]; char bigTitle[_MAX_U64TOSTR_BASE2_COUNT];
_itoa_s(rand() % 512, bigTitle, sizeof(bigTitle), 10); _itoa_s(rand() % 512, bigTitle, sizeof(bigTitle), 10);
info.set("ec_TitleBg", bigTitle); info.set("ec_TitleBg", bigTitle);
game::CL_AddReliableCommand(_a1, utils::string::va("userinfo \"%s\"", info.build().data())); game::CL_AddReliableCommand(_a1, utils::string::va("userinfo \"%s\"", info.build().data()));