mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 14:18:59 +00:00
commit
e87cd7077e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue