Removed all non-forwarding code from events.inc and moved to appropriate modules.

This commit is contained in:
Greyscale committed 2009-05-20 19:15:55 -07:00
1 parent 6e464880f4
commit a1aebe5ca5
3 files changed
+24 -25

No files matched your search

+10
View File
@@ -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.