Moved GetDefaultClassIndex outside the loop.

This commit is contained in:
richard 2008-12-03 10:48:11 +01:00
parent a6c726c193
commit 2d4f5d7ae6

View File

@ -121,9 +121,10 @@ public OnMapStart()
if (!GetConVarBool(gCvars[CVAR_CLASSES_SAVE]))
{
new i;
new classindex = GetDefaultClassIndex();
for (i = 1; i <= MAXPLAYERS; i++)
{
pClass[i] = GetDefaultClassIndex();
pClass[i] = classindex;
}
}
}