Server: Gamerules now marked as teamplay, which will fix some doors and friendly fire

This commit is contained in:
Marco Cawthorne 2022-07-09 17:36:23 -07:00
parent ffc68d32c4
commit 38b5fc6cc3
Signed by: eukara
GPG key ID: CE2032F0A2882A22
2 changed files with 8 additions and 0 deletions

View file

@ -18,6 +18,8 @@ class TFCGameRules:CGameRules
{
void(void) TFCGameRules;
virtual bool(void) IsTeamPlay;
virtual void(NSClientPlayer) PlayerConnect;
virtual void(NSClientPlayer) PlayerDisconnect;
virtual void(NSClientPlayer) PlayerPostFrame;

View file

@ -16,6 +16,12 @@
var int autocvar_sv_playerkeepalive = TRUE;
bool
TFCGameRules::IsTeamPlay(void)
{
return TRUE;
}
/* we check what fields have changed over the course of the frame and network
* only the ones that have actually changed */
void