Cleanup: Some CGameRules methods are now of type 'bool'

Remove rules.qc
This commit is contained in:
Marco Cawthorne 2022-07-16 15:07:47 -07:00
parent f0c13b1a41
commit 18bd1303b6
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
3 changed files with 2 additions and 4 deletions

View File

@ -55,7 +55,7 @@ class SHTeamRules:HLGameRules
virtual void(void) RestartRound;
virtual void(NSClientPlayer) PlayerSpawn;
virtual bool(void) IsTeamPlay;
virtual bool(void) IsTeamplay;
virtual void(void) AddTeam1Kill;
virtual void(void) AddTeam2Kill;
virtual void(NSClientPlayer, entity) ScientistKill;

View File

@ -15,7 +15,6 @@
*/
var int autocvar_sh_insanity = 10;
var int autocvar_sv_playerkeepalive = TRUE;
void
HLGameRules::RestartRound(void)
@ -358,7 +357,7 @@ HLGameRules::HLGameRules(void)
/* TEAMPLAY ONLY LOGIC */
bool
SHTeamRules::IsTeamPlay(void)
SHTeamRules::IsTeamplay(void)
{
return true;
}

View File

@ -81,7 +81,6 @@ gamerules_stealth.qc
../../../valve/src/server/client.qc
server.qc
../../../base/src/server/damage.qc
../../../valve/src/server/rules.qc
../../../valve/src/server/flashlight.qc
../../../base/src/server/modelevent.qc