From e2e350973c930a2da738e856b9a4010192ba57ea Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 22 Sep 2024 09:14:29 +0100 Subject: [PATCH] removing FL_FROZEN from intermission so people can run around during the mapvote --- extension.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/extension.cpp b/extension.cpp index cf4609e..ff40a52 100644 --- a/extension.cpp +++ b/extension.cpp @@ -299,6 +299,15 @@ static struct SrcdsPatch }, */ + // 16: should allow people to run around freely after game end, by overwriting pPlayer->AddFlag( FL_FROZEN ); line 3337 in cs_gamerules.cpp + //this change is desired for the new mapvoting feature so that people can still freely move at the end of the map while the vote is running. + { + "_ZN12CCSGameRules16GoToIntermissionEv", + (unsigned char *)"\x89\x04\x24\xE8\x6C\xA5\xFC\xFF", + "xxxxxxxx", + (unsigned char *)"\x90\x90\x90\x90\x90\x90\x90\x90", + "cstrike/bin/server_srv.so" + }, }; class CBaseEntity;