Removed all non-forwarding code from events.inc and moved to appropriate modules.
This commit is contained in:
1 parent
6e464880f4
commit
a1aebe5ca5
3 files changed
+24
-25
No files matched your search
@@ -213,6 +213,16 @@ InfectOnClientSpawn(client)
|
||||
{
|
||||
// Disable zombie flag on client.
|
||||
bZombie[client] = false;
|
||||
|
||||
// Check if client is spawning on the terrorist team.
|
||||
if (ZRIsClientOnTeam(client, CS_TEAM_T))
|
||||
{
|
||||
if (g_bZombieSpawned)
|
||||
{
|
||||
CS_SwitchTeam(client, CS_TEAM_CT);
|
||||
CS_RespawnPlayer(client);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Client has been hurt.
|
||||
|
||||
Reference in new issue
Block a user