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