From 712ae1a3716a523080d25c5aab2636a2b164c0c6 Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 31 Mar 2024 16:28:35 -0700 Subject: [PATCH] Destroyed Kart: fix crusher animation soft-lock --- src/objects/destroyed-kart.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/objects/destroyed-kart.cpp b/src/objects/destroyed-kart.cpp index fa7e6d18c..e027c1cf0 100644 --- a/src/objects/destroyed-kart.cpp +++ b/src/objects/destroyed-kart.cpp @@ -128,6 +128,13 @@ struct Particle : Mobj void think() { + if (!fuse && !momz) + { + // Getting stuck underneath a crusher... force + // a landing so the fuse activates. + on_land(); + } + if (state()->num() == S_BRAKEDRIFT) { renderflags ^= RF_DONTDRAW;