mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
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:
parent
a66fcb8448
commit
bfa28f1a84
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue