Allow the use of spring strength with pogospring

There may be no trick panels but this will do hopefully....
This commit is contained in:
NepDisk 2024-09-06 17:16:16 -04:00
parent 443737fc9d
commit 1da4a9b4b6

View file

@ -646,7 +646,11 @@ void K_ProcessTerrainEffect(mobj_t *mo)
angle);
sector->soundorg.z = player->mo->z;
S_StartSound(&sector->soundorg, sfx_s3kb1);
if (terrain->pogoSpring > 0) // Hack to allow spring strength to work with pogospring
player->mo->eflags &= ~MFE_SPRUNG;
else
S_StartSound(&sector->soundorg, sfx_s3kb1); // Don't play two spring sounds at once thx!
}
// Pogospring panel