From 2a54d10fc7c86f6b91280103fa451431a58bf194 Mon Sep 17 00:00:00 2001 From: XProger Date: Sat, 24 Nov 2018 06:56:04 +0300 Subject: [PATCH] fix clang warning --- src/inventory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {