Fix an out-by-one error.

The recent sanitization of nummodels lost the last model in qw due to the
insane way in which the model list is built. oops.
This commit is contained in:
Bill Currie 2012-01-12 11:28:25 +09:00
parent a66fcb8448
commit bfa28f1a84
1 changed files with 1 additions and 0 deletions

View File

@ -920,6 +920,7 @@ CL_ParseModellist (void)
else if (!strcmp (cl.model_name[cl.nummodels], "progs/gib3.mdl"))
cl_gib3index = cl.nummodels;
}
cl.nummodels++;
n = MSG_ReadByte (net_message);