From dda7b4024e2653ff89e742c58a5e2580411ca306 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Mon, 20 Feb 2023 13:21:07 +0100 Subject: [PATCH] [General]: Label two things --- src/Components/Modules/Party.cpp | 4 ++-- src/Game/Structs.hpp | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Components/Modules/Party.cpp b/src/Components/Modules/Party.cpp index d8736779..e29ae2c9 100644 --- a/src/Components/Modules/Party.cpp +++ b/src/Components/Modules/Party.cpp @@ -221,8 +221,8 @@ namespace Components // causes 'does current Steam lobby match' calls in Steam_JoinLobby to be ignored Utils::Hook::Set(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); diff --git a/src/Game/Structs.hpp b/src/Game/Structs.hpp index 0f755fbf..c42eb789 100644 --- a/src/Game/Structs.hpp +++ b/src/Game/Structs.hpp @@ -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 _;