Added zspawn team override cvar.

This commit is contained in:
Greyscale
2009-05-12 04:30:16 +02:00
parent 77fd4b00a8
commit 8aa9b7dcc7
4 changed files with 24 additions and 15 deletions

View File

@ -72,7 +72,7 @@ SpawnProtectOnClientSpawn(client)
// If player respawns as human, and either cvar zr_suicide_world_damage or the client
// wasn't killed by world is false, then continue on to protect client.
new bool:respawn_zombie = GetConVarBool(g_hCvarsList[CVAR_RESPAWN_ZOMBIE]);
new bool:respawn_zombie = GetConVarBool(g_hCvarsList[CVAR_RESPAWN_TEAM_ZOMBIE]);
if (!respawn_zombie && !RespawnKilledByWorld(client))
{
// Set spawn protect flag on client.