AntiNoob: last fix i promise
This commit is contained in:
parent
5c7c783c59
commit
5bfce17da9
@ -251,7 +251,7 @@ public void CheckHumanZombieCount()
|
||||
return;
|
||||
|
||||
int iHumanCount;
|
||||
int iZombieCount;
|
||||
int iZombieCount = 1;
|
||||
|
||||
for(int i = 1; i <= MaxClients; i++)
|
||||
{
|
||||
@ -265,8 +265,8 @@ public void CheckHumanZombieCount()
|
||||
iZombieCount++;
|
||||
}
|
||||
|
||||
if(iHumanCount == 0 || iZombieCount == 0)
|
||||
return;
|
||||
if(iHumanCount == 0)
|
||||
iHumanCount = 1;
|
||||
|
||||
if(float(iZombieCount) / float(iHumanCount) >= g_fMidRoundRatio)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user