Skip to content

Commit bc58ee9

Browse files
committed
Add missing propagate_movement call
1 parent 728f2eb commit bc58ee9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/badguy/crusher.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,9 @@ Crusher::update(float dt_sec)
10631063
frame_movement *= 0.6f;
10641064

10651065
m_col.set_movement(frame_movement);
1066+
1067+
// This is responsible for keeping objects relative to the crusher's movement.
1068+
m_col.propagate_movement(frame_movement);
10661069
}
10671070

10681071
void

0 commit comments

Comments
 (0)