General: Clean up some stupid stuff.
This commit is contained in:
parent
252392c433
commit
9f157e14e9
|
@ -30,7 +30,7 @@
|
||||||
*/
|
*/
|
||||||
enum RespawnCondition
|
enum RespawnCondition
|
||||||
{
|
{
|
||||||
Repsawn_Default = -1, /** Let ZR decide according to its settings. */
|
Respawn_Default = -1, /** Let ZR decide according to its settings. */
|
||||||
Respawn_Human = 0, /** Respawn as a human. */
|
Respawn_Human = 0, /** Respawn as a human. */
|
||||||
Respawn_Zombie, /** Respawn as a zombie. */
|
Respawn_Zombie, /** Respawn as a zombie. */
|
||||||
Respawn_ZombieIfSuicide /** Respawn as a zombie if killed by world damage. */
|
Respawn_ZombieIfSuicide /** Respawn as a zombie if killed by world damage. */
|
||||||
|
|
|
@ -175,7 +175,7 @@ stock bool:ZRIsTimerRunning(Handle:timer)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper functions for KilLTimer.
|
* Wrapper functions for KillTimer.
|
||||||
* Ends a timer if running, and resets its timer handle variable.
|
* Ends a timer if running, and resets its timer handle variable.
|
||||||
*
|
*
|
||||||
* @param timer The timer handle.
|
* @param timer The timer handle.
|
||||||
|
|
|
@ -207,7 +207,6 @@ ZSpawnOnRoundEnd()
|
||||||
*/
|
*/
|
||||||
bool:ZSpawnClient(client, bool:force = false, bool:zombie = false)
|
bool:ZSpawnClient(client, bool:force = false, bool:zombie = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
// If zspawn is disabled, then stop.
|
// If zspawn is disabled, then stop.
|
||||||
new bool:zspawn = GetConVarBool(g_hCvarsList[CVAR_ZSPAWN]);
|
new bool:zspawn = GetConVarBool(g_hCvarsList[CVAR_ZSPAWN]);
|
||||||
if (!force && !zspawn)
|
if (!force && !zspawn)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user