AntiNoob: last fix i promise
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user