Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit b0ceef4

Browse files
committed
Missed a spot
1 parent 892fec7 commit b0ceef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/MovableObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ bool MovableObject::IsAtRest()
787787
bool MovableObject::OnMOHit(HitData &hd)
788788
{
789789
if (hd.pRootBody[HITOR] != hd.pRootBody[HITEE] && (hd.pBody[HITOR] == this || hd.pBody[HITEE] == this)) {
790-
RunScriptedFunctionInAppropriateScripts("OnCollideWithMO", false, false, {hd.pRootBody[hd.pBody[HITOR] == this ? HITEE : HITOR]});
790+
RunScriptedFunctionInAppropriateScripts("OnCollideWithMO", false, false, {hd.pBody[hd.pBody[HITOR] == this ? HITEE : HITOR], hd.pRootBody[hd.pBody[HITOR] == this ? HITEE : HITOR]});
791791
}
792792
return hd.terminate[hd.pRootBody[HITOR] == this ? HITOR : HITEE] = OnMOHit(hd.pRootBody[hd.pRootBody[HITOR] == this ? HITEE : HITOR]);
793793
}

0 commit comments

Comments
 (0)