diff options
| author | Léo Lam <leo@leolam.fr> | 2022-03-06 12:44:57 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-03-06 16:10:13 +0100 |
| commit | 8a6b47d1322027457db60f29087ccb61c1e2f27f (patch) | |
| tree | 1c8011d91d37ffa7302f7372c851549803146667 /src/KingSystem/Physics/System/physLayerContactPointInfo.cpp | |
| parent | 683108b75cf44a50941eb153050aa0b843430531 (diff) | |
ksys/phys: Add more ContactMgr functions
Diffstat (limited to 'src/KingSystem/Physics/System/physLayerContactPointInfo.cpp')
| -rw-r--r-- | src/KingSystem/Physics/System/physLayerContactPointInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/System/physLayerContactPointInfo.cpp b/src/KingSystem/Physics/System/physLayerContactPointInfo.cpp index 73d392e2..bc9c4ade 100644 --- a/src/KingSystem/Physics/System/physLayerContactPointInfo.cpp +++ b/src/KingSystem/Physics/System/physLayerContactPointInfo.cpp @@ -96,7 +96,7 @@ sead::Vector3f LayerContactPointInfo::Iterator::getPointPosition(Point point) co LayerContactPointInfo::Iterator::Iterator(const LayerContactPointInfo::Points& points, int count) : mPoints(points.getBufferPtr()), mPointsNum(count), mPointsStart(points.getBufferPtr()) { for (int i = 0; i != count; ++i) { - if (!mPoints[i]->flags.isOn(ContactPoint::Flag::_1)) + if (!mPoints[i]->flags.isOn(ContactPoint::Flag::Invalid)) break; ++mIdx; } |
