1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 04:40:00 +00:00
This commit is contained in:
aap 2021-02-10 15:10:27 +01:00
parent c06b971b65
commit 8fb3a3ff23

View file

@ -374,7 +374,7 @@ CFileLoader::LoadCollisionModel(uint8 *buf, CColModel &model, char *modelname)
CVector vB = model.vertices[model.triangles[i].b].Get();
CVector vC = model.vertices[model.triangles[i].c].Get();
float area = CrossProduct(vA - vB, vA - vC).Magnitude();
if(area < 0.001f || vA == vB || vA == vB || vB == vC){
if(area < 0.001f || vA == vB || vA == vC || vB == vC){
i--;
model.numTriangles--;
}