mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 00:54:05 +02:00
fix clang warning
This commit is contained in:
@@ -829,12 +829,13 @@ 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) {
|
||||
if (titleTimer != 0.0f || (isActive() != active))
|
||||
|
Reference in New Issue
Block a user