Merge pull request #784 from diamante0018/develop

[General]: Comments
This commit is contained in:
Edo 2023-02-20 14:44:56 +01:00 committed by GitHub
commit af96e5e273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 4 deletions

View File

@ -221,8 +221,8 @@ namespace Components
// causes 'does current Steam lobby match' calls in Steam_JoinLobby to be ignored
Utils::Hook::Set<BYTE>(0x49D007, 0xEB);
// functions checking party heartbeat timeouts, cause random issues
Utils::Hook::Nop(0x4E532D, 5);
// function checking party heartbeat timeouts, cause random issues
Utils::Hook::Nop(0x4E532D, 5); // PartyHost_TimeoutMembers
// Steam_JoinLobby call causes migration
Utils::Hook::Nop(0x5AF851, 5);

View File

@ -278,7 +278,7 @@ namespace Components
BGBounces = Game::Dvar_RegisterEnum("bg_bounces", bg_bouncesValues, DISABLED, Game::DVAR_CODINFO, "Bounce glitch settings");
});
// Hook Dvar_RegisterFloat. Only thing that's changed is that the 0x80 flag is not used.
// Hook Dvar_RegisterFloat. Only thing that's changed is that the 0x80 flag is not used
Utils::Hook(0x448990, Dvar_RegisterSpectateSpeedScale, HOOK_CALL).install()->quick();
// PM_CmdScaleForStance

View File

@ -6482,6 +6482,14 @@ namespace Game
static_assert(sizeof(sval_u) == 0x4);
struct stype_t
{
sval_u val;
unsigned int pos;
};
static_assert(sizeof(stype_t) == 0x8);
struct scr_const_t
{
scr_string_t _;