WallLinearToPersp matching

This commit is contained in:
Dethrace Labs 2026-01-25 12:11:16 +13:00
parent d66b0d5844
commit fce5afb781
1 changed files with 2 additions and 4 deletions

View File

@ -2265,11 +2265,9 @@ br_material* WallLinearToPersp(br_model* pModel, tU16 pFace) {
old_mat = pModel->faces[pFace].material;
if (HasThisSuffix(old_mat->identifier, ".pwall")) {
new_mat = UnsuffixedMaterial(old_mat->identifier, ".pwall");
} else {
new_mat = NULL;
return UnsuffixedMaterial(old_mat->identifier, ".pwall");
}
return new_mat;
return NULL;
}
// IDA: tRoad_texturing_level __cdecl GetRoadTexturingLevel()