General: Clean up some stupid stuff.

This commit is contained in:
zaCade 2018-08-28 13:25:24 +02:00
parent 252392c433
commit 9f157e14e9
3 changed files with 2 additions and 3 deletions

View File

@ -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. */

View File

@ -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.

View File

@ -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)