diff options
author | majestic <majesticcoding@gmail.com> | 2020-11-09 15:18:49 +0100 |
---|---|---|
committer | majestic <majesticcoding@gmail.com> | 2020-11-09 15:18:49 +0100 |
commit | cf6a9a8341d27abb9b4936912e8cdd5e8379d373 (patch) | |
tree | 5c477a6788ec8c6cb2b7a2cb995d482fb9a0419a /src/render | |
parent | Pickup fix (diff) | |
download | re3-cf6a9a8341d27abb9b4936912e8cdd5e8379d373.tar re3-cf6a9a8341d27abb9b4936912e8cdd5e8379d373.tar.gz re3-cf6a9a8341d27abb9b4936912e8cdd5e8379d373.tar.bz2 re3-cf6a9a8341d27abb9b4936912e8cdd5e8379d373.tar.lz re3-cf6a9a8341d27abb9b4936912e8cdd5e8379d373.tar.xz re3-cf6a9a8341d27abb9b4936912e8cdd5e8379d373.tar.zst re3-cf6a9a8341d27abb9b4936912e8cdd5e8379d373.zip |
Diffstat (limited to '')
-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; } |