diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:37:04 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:37:04 +0100 |
commit | 4f8029ad7c76d53f08d9f922d59db32ee27be3f2 (patch) | |
tree | d5a34f1f072e70671b33ebbff9b9d875053c6380 /src/render/Glass.cpp | |
parent | Peds: Remove redundant lines (diff) | |
parent | fixed zone bug (diff) | |
download | re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.gz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.bz2 re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.lz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.xz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.zst re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.zip |
Diffstat (limited to 'src/render/Glass.cpp')
-rw-r--r-- | src/render/Glass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Glass.cpp b/src/render/Glass.cpp index 426fa7f1..536d94e0 100644 --- a/src/render/Glass.cpp +++ b/src/render/Glass.cpp @@ -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; } |