From 1da4a9b4b68b8eb3d6dad8e5920d39e2dcb4db78 Mon Sep 17 00:00:00 2001 From: NepDisk <16447892+NepDisk@users.noreply.github.com> Date: Fri, 6 Sep 2024 17:16:16 -0400 Subject: [PATCH] Allow the use of spring strength with pogospring There may be no trick panels but this will do hopefully.... --- src/k_terrain.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/k_terrain.c b/src/k_terrain.c index 0ba509601..19ea1f812 100644 --- a/src/k_terrain.c +++ b/src/k_terrain.c @@ -646,7 +646,11 @@ void K_ProcessTerrainEffect(mobj_t *mo) angle); sector->soundorg.z = player->mo->z; - S_StartSound(§or->soundorg, sfx_s3kb1); + + if (terrain->pogoSpring > 0) // Hack to allow spring strength to work with pogospring + player->mo->eflags &= ~MFE_SPRUNG; + else + S_StartSound(§or->soundorg, sfx_s3kb1); // Don't play two spring sounds at once thx! } // Pogospring panel