From c2aa8b103245e53d97ee056b5b87ed7fd355f5b4 Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 8 Jul 2025 18:47:50 -0700 Subject: [PATCH] Fix Stone Shoe in reverse gravity --- src/objects/stone-shoe.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/objects/stone-shoe.cpp b/src/objects/stone-shoe.cpp index 63ad55686..6e3aae96b 100644 --- a/src/objects/stone-shoe.cpp +++ b/src/objects/stone-shoe.cpp @@ -230,7 +230,7 @@ private: if (P_IsObjectOnGround(this)) { - momz = 32 * mapobjectscale; + momz = flip(32 * mapobjectscale); bouncing(true); voice(sfx_s3k5f); P_StartQuakeFromMobj(5, 40 * scale(), 512 * scale(), this); @@ -271,6 +271,11 @@ private: follow()->player->stonedrag = dist > minDist(); sprzoff(30 * scale()); + + if (is_flipped() != follow()->is_flipped()) + { + K_FlipFromObject(this, follow()); + } } void move_chain() @@ -292,6 +297,7 @@ private: while (Mobj::valid(node)) { node->move_origin({p, pz}); + K_FlipFromObject(node, this); node->sprzoff(sprzoff()); // Let chain flicker like shoe does