zr_infect now infects mother zombie if used before it has spawned.

* Fixed a serious bug that could delay the game, the round end checker took dead clients in the count, so 1 dead ct and 9 zombies didn't end the game.
* Small typo fix in anticamp, and got rid of a warning.
This commit is contained in:
Greyscale
2009-06-18 15:53:22 -07:00
parent 9cac025358
commit 01653a2636
5 changed files with 118 additions and 56 deletions

View File

@ -33,7 +33,7 @@ enum VolTypeAnticamp
Float:anticamp_interval, /** How often to trigger an action. */
Handle:anticamp_timer, /** Action timer handle. */
VolAnticampAction:antivamp_action, /** What to do with players in anti-camp volumes */
VolAnticampAction:anticamp_action, /** What to do with players in anti-camp volumes */
Float:anticamp_amount, /** Amount depending on action type. Usually time in seconds or damage amount. */
VolAnticampeWarningType:anticamp_warning, /** How to warn the player. */