diff --git a/src/p_map.c b/src/p_map.c index 5436e144c..4ebc9a124 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -2610,7 +2610,7 @@ boolean P_TryMove(mobj_t *thing, fixed_t x, fixed_t y, boolean allowdropoff) // sound does not work out all that well for kart maps // best i can do... - if (cv_stairjanksfx.value) + if (cv_stairjank.value && cv_stairjanksfx.value) S_StartSoundAtVolume(thing, (thing->player->stairjank >= 8 ? sfx_s23b : sfx_s268), 192); // dont blast this at full volume lul // Can't spawn things during P_TryMove, because global variables :)