Fix panels not doing stack sound
This commit is contained in:
parent
079598b195
commit
305703d320
1 changed files with 1 additions and 1 deletions
|
|
@ -4672,7 +4672,7 @@ static void K_SneakerPanelStackSound(player_t *player)
|
|||
const sfxenum_t smallsfx = sfx_cdfm40;
|
||||
sfxenum_t sfx = normalsfx;
|
||||
|
||||
if ((player->numsneakers > 0) && K_StackingActive() && cv_kartstacking_sneakerstacksound.value)
|
||||
if (((player->numsneakers + player->numpanels) > 0) && K_StackingActive() && cv_kartstacking_sneakerstacksound.value)
|
||||
{
|
||||
// Use a less annoying sound when stacking sneakers.
|
||||
sfx = smallsfx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue