summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-03-13 02:33:56 +0100
committerLéo Lam <leo@leolam.fr>2022-03-13 02:33:56 +0100
commitaf2e33153abae0a5c0e50ce463dd24e7449f8b24 (patch)
treea2ced1ef0892f0b9256340703f1dca55e990585f /src
parente27c55361dd696ef248e22a7a03da4d4335ae89e (diff)
Fix matching issue in ContactMgr::processImpulseEntries
Diffstat (limited to 'src')
-rw-r--r--src/KingSystem/Physics/System/physContactMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Physics/System/physContactMgr.cpp b/src/KingSystem/Physics/System/physContactMgr.cpp
index 4a3c8de1..9359e04e 100644
--- a/src/KingSystem/Physics/System/physContactMgr.cpp
+++ b/src/KingSystem/Physics/System/physContactMgr.cpp
@@ -531,7 +531,7 @@ void ContactMgr::setImpulseEntryContactInfo(RigidBody* body_a, RigidBody* body_b
}
}
-void ContactMgr::processImpulseEntry(const ImpulseEntry& entry) {
+inline void ContactMgr::processImpulseEntry(const ImpulseEntry& entry) {
if (!entry.valid)
return;