diff --git a/src/inventory.h b/src/inventory.h index c3c623e..845a1a7 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -829,11 +829,12 @@ struct Inventory { void applySounds(bool pause) { for (int i = 0; i < Sound::channelsCount; i++) - if (Sound::channels[i]->flags & Sound::PAN) + if (Sound::channels[i]->flags & Sound::PAN) { if (pause) Sound::channels[i]->pause(); else Sound::channels[i]->resume(); + } } void toggle(int playerIndex = 0, Page curPage = PAGE_INVENTORY, TR::Entity::Type type = TR::Entity::NONE) {