mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2025-01-11 09:29:09 +01:00
CGlass indices fix
This commit is contained in:
parent
51e7f44433
commit
cf6a9a8341
@ -967,7 +967,7 @@ CGlass::BreakGlassPhysically(CVector pos, float radius)
|
||||
for ( int32 j = 0; j < col->numTriangles; j++ )
|
||||
{
|
||||
if ( CCollision::TestSphereTriangle(sphere,
|
||||
col->vertices, col->triangles[i], col->trianglePlanes[i]) )
|
||||
col->vertices, col->triangles[j], col->trianglePlanes[j]) )
|
||||
{
|
||||
hit = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user