mirror of
https://github.com/diamante0018/MW3ServerFreezer.git
synced 2025-05-10 14:34:53 +00:00
remove 0
This commit is contained in:
parent
45d7c3daf5
commit
c006b315c0
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user