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;