Allow the use of spring strength with pogospring
There may be no trick panels but this will do hopefully....
This commit is contained in:
parent
443737fc9d
commit
1da4a9b4b6
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue