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

View file

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