Cleanup: Some CGameRules methods are now of type 'bool'
Remove rules.qc
This commit is contained in:
parent
cd29e3a186
commit
b1943df57a
3 changed files with 14 additions and 6 deletions
|
@ -14,9 +14,6 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
var int autocvar_sv_playerkeepalive = TRUE;
|
||||
|
||||
|
||||
bool
|
||||
HLGameRules::IsMultiplayer(void)
|
||||
{
|
||||
|
|
|
@ -20,6 +20,18 @@ HLMultiplayerRules::IsMultiplayer(void)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool
|
||||
HLMultiplayerRules::IsTeamplay(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
HLMultiplayerRules::InitPostEnts(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
HLMultiplayerRules::FrameStart(void)
|
||||
{
|
||||
|
@ -153,7 +165,7 @@ HLMultiplayerRules::PlayerSpawn(NSClientPlayer pp)
|
|||
Client_FixAngle(pl, pl.angles);
|
||||
}
|
||||
|
||||
float
|
||||
bool
|
||||
HLMultiplayerRules::ConsoleCommand(NSClientPlayer pp, string cmd)
|
||||
{
|
||||
tokenize(cmd);
|
||||
|
@ -169,7 +181,7 @@ HLMultiplayerRules::ConsoleCommand(NSClientPlayer pp, string cmd)
|
|||
return (1);
|
||||
}
|
||||
|
||||
int
|
||||
bool
|
||||
HLMultiplayerRules::MonstersSpawn(void)
|
||||
{
|
||||
return (FALSE);
|
||||
|
|
1
src/server/progs.src
Executable file → Normal file
1
src/server/progs.src
Executable file → Normal file
|
@ -41,7 +41,6 @@ gamerules_multiplayer.qc
|
|||
../../../valve/src/server/client.qc
|
||||
../../../valve/src/server/server.qc
|
||||
../../../base/src/server/damage.qc
|
||||
../../../valve/src/server/rules.qc
|
||||
../../../valve/src/server/flashlight.qc
|
||||
../../../base/src/server/modelevent.qc
|
||||
|
||||
|
|
Loading…
Reference in a new issue