diff options
| author | Léo Lam <leo@leolam.fr> | 2022-03-23 00:58:09 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2022-03-23 10:04:43 +0100 |
| commit | cfb1f1e074b415b3a8fa713db4d5e41c241b9da2 (patch) | |
| tree | c6a4f37b461ec601146574e17c419ab70e0dcb6c /src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp | |
| parent | cc6527bb26501c3c8572f1c71a1161dcf5bd0f14 (diff) | |
ksys/phys: Add more StaticCompound functions, part 2
Diffstat (limited to 'src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp')
| -rw-r--r-- | src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp b/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp index b18e0201..59abc724 100644 --- a/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp +++ b/src/KingSystem/Physics/StaticCompound/physStaticCompound.cpp @@ -93,7 +93,7 @@ bool StaticCompound::disableCollision(int actor_idx, bool x) { const auto type = static_cast<BodyLayerType>(info->m_BodyLayerType); const auto instance_id = info->m_InstanceId; - mFieldBodyGroups[group].disableCollision(type, instance_id, x); + mFieldBodyGroups[group].setInstanceEnabled(type, instance_id, x); } return true; } |
