CalcProximities matching

This commit is contained in:
Dethrace Labs 2026-01-09 14:58:08 +13:00
parent 57656e4c56
commit ebb2144c64
1 changed files with 1 additions and 2 deletions

View File

@ -1095,8 +1095,7 @@ br_uint_32 CalcProximities(br_actor* pActor, br_material* pMat, tFunkotronic_spe
if (pThe_funk->material == pMat) {
pThe_funk->proximity_count += 8;
} else {
for (i = 0; i < pActor->model->nfaces; i++) {
the_face = &pActor->model->faces[i];
for (i = 0, the_face = pActor->model->faces; i < pActor->model->nfaces; i++, the_face++) {
if (pThe_funk->material == the_face->material) {
pThe_funk->proximity_count += 3;
}