1
0
Fork 0
forked from fte/fteqw

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

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;