Skip to content

Commit 41383c0

Browse files
committed
Update TerminateRound for 2026-03-18 CS2 update
1 parent bbc9345 commit 41383c0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

gamedata/cs2fixes.games.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
{
176176
"library" "server"
177177
"windows" "\x48\x8B\xC4\x4C\x89\x48\x2A\x48\x89\x48\x2A\x55\x56\x41\x56"
178-
"linux" "\x55\x48\x89\xE5\x41\x57\x41\x56\x49\x89\xFE\x41\x55\x41\x54\x53\x48\x81\xEC\x2A\x2A\x2A\x2A\x48\x8D\x05\x2A\x2A\x2A\x2A\xF3\x0F\x11\x85"
178+
"linux" "\x55\x48\x89\xE5\x41\x57\x49\x89\xFF\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x2A\x2A\x2A\x2A\x48\x8D\x05\x2A\x2A\x2A\x2A\xF3\x0F\x11\x85"
179179
}
180180
"CCSPlayer_WeaponServices_CanUse"
181181
{

src/addresses.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ namespace addresses
9393
inline CBaseEntity*(FASTCALL* CGameEntitySystem_FindEntityByName)(CEntitySystem* pEntitySystem, CEntityInstance* pStartEntity, const char* szName,
9494
CEntityInstance* pSearchingEntity, CEntityInstance* pActivator, CEntityInstance* pCaller,
9595
IEntityFindFilter* pFilter);
96-
inline void(FASTCALL* CGameRules_TerminateRound)(CGameRules* pGameRules, float delay, unsigned int reason, int64 a4, unsigned int a5);
96+
inline void(FASTCALL* CGameRules_TerminateRound)(CGameRules* pGameRules, float delay, unsigned int reason, int64 a4);
9797
inline CBaseEntity*(FASTCALL* CreateEntityByName)(const char* className, int iForceEdictIndex);
9898
inline void(FASTCALL* DispatchSpawn)(CBaseEntity* pEntity, CEntityKeyValues* pEntityKeyValues);
9999
inline void(FASTCALL* CEntityIdentity_SetEntityName)(CEntityIdentity* pEntity, const char* pName);

src/cs2_sdk/entity/cgamerules.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class CCSGameRules : public CGameRules
7878

7979
void TerminateRound(float flDelay, CSRoundEndReason reason)
8080
{
81-
addresses::CGameRules_TerminateRound(this, flDelay, reason, 0, 0);
81+
addresses::CGameRules_TerminateRound(this, flDelay, reason, 0);
8282
}
8383
};
8484

0 commit comments

Comments
 (0)