Server: Gamerules now marked as teamplay, which will fix some doors and friendly fire
This commit is contained in:
parent
ffc68d32c4
commit
38b5fc6cc3
2 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue