Removed antistick force cvar, removed more tHandle defines, moved respawn to its own module, moved market menu send function to markethandler.inc, fixed some run-on timers in zhp and spawn protect

This commit is contained in:
Greyscale
2009-04-16 05:30:26 +02:00
parent 872e41e6d2
commit 5b9f8d364d
15 changed files with 308 additions and 187 deletions

View File

@ -25,8 +25,13 @@
#include "zr/ambience"
#include "zr/models"
#include "zr/overlays"
// Class system
#include "zr/playerclasses/playerclasses"
// Antistick
#include "zr/antistick"
#include "zr/anticamp"
#include "zr/teleport"
#include "zr/zombie"
@ -45,6 +50,9 @@
// Spawn protect
#include "zr/spawnprotect"
// Respawn
#include "zr/respawn"
// ZHP
#include "zr/zhp"
@ -173,12 +181,11 @@ public OnClientPutInServer(client)
gBlockMotherInfect[client] = false;
gKilledByWorld[client] = false;
bZVision[client] = !IsFakeClient(client);
// Forward event to modules.
ClassClientInit(client);
WeaponsClientInit(client);
SpawnProtectClientInit(client);
RespawnClientInit(client);
ZHPClientInit(client);
if (!IsFakeClient(client)) AmbienceStart(client);