Bake patches into submodels in reverse order... This should fix submodel patch issues with _q3bsp_bihtraces.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6084 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2021-10-13 02:08:25 +00:00
parent 62cf0286f5
commit 8132b2fd57
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ static qboolean CM_CreatePatchesForLeafs (model_t *loadmodel, cminfo_t *prv)
memset (checkout, -1, sizeof(int)*prv->numfaces);
for (i = 0; i < prv->numcmodels; i++)
for (i = prv->numcmodels; i-- > 0; )
{
prv->cmodels[i].firstpatch = prv->numpatches;
prv->cmodels[i].firstcmesh = prv->numcmeshes;