summaryrefslogtreecommitdiff
path: root/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-25 22:34:22 +0100
committerLéo Lam <leo@leolam.fr>2022-03-25 23:22:12 +0100
commit9f8530ec90d2fa77aa45a96e081afdd30ec8aed6 (patch)
tree55dad9bd7e63f1cf3ccf0eb8ed8f3aa47a1e1959 /src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp
parentf3b3653b0f7bce79adb0e46240f88ef9518f9d44 (diff)
ksys/phys: Finish StaticCompoundMgr
Diffstat (limited to 'src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp')
-rw-r--r--src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp b/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp
index 47b3620f..88853b39 100644
--- a/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp
+++ b/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp
@@ -222,7 +222,7 @@ StaticCompoundRigidBodyGroup* StaticCompound::getFieldBodyGroup(int idx) {
return &mFieldBodyGroups[idx];
}
-bool StaticCompound::hasFieldBodyGroup(StaticCompoundRigidBodyGroup* group) const {
+bool StaticCompound::hasFieldBodyGroup(const StaticCompoundRigidBodyGroup* group) const {
for (int i = 0, n = mFieldBodyGroups.size(); i < n; ++i) {
if (&mFieldBodyGroups[i] == group)
return true;