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

@ -335,7 +335,7 @@ WeaponsOnRoundEnd()
*
* @param index The weapon index.
*/
WeaponsClearCache(index)
stock WeaponsClearCache(index)
{
// Get array handle of weapon at given index.
new Handle:hWeapon = GetArrayCell(arrayWeapons, index);