only play stairjank sound if we have its visuals enabled
This commit is contained in:
1 parent
735c4b67dc
commit
f09c61cee9
1 file changed
+1
-1
+1
-1
@@ -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 :)
|
||||
|
||||
Reference in new issue
Block a user