mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 09:04:31 +02:00
fix clang warning
This commit is contained in:
@@ -829,11 +829,12 @@ struct Inventory {
|
|||||||
|
|
||||||
void applySounds(bool pause) {
|
void applySounds(bool pause) {
|
||||||
for (int i = 0; i < Sound::channelsCount; i++)
|
for (int i = 0; i < Sound::channelsCount; i++)
|
||||||
if (Sound::channels[i]->flags & Sound::PAN)
|
if (Sound::channels[i]->flags & Sound::PAN) {
|
||||||
if (pause)
|
if (pause)
|
||||||
Sound::channels[i]->pause();
|
Sound::channels[i]->pause();
|
||||||
else
|
else
|
||||||
Sound::channels[i]->resume();
|
Sound::channels[i]->resume();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void toggle(int playerIndex = 0, Page curPage = PAGE_INVENTORY, TR::Entity::Type type = TR::Entity::NONE) {
|
void toggle(int playerIndex = 0, Page curPage = PAGE_INVENTORY, TR::Entity::Type type = TR::Entity::NONE) {
|
||||||
|
Reference in New Issue
Block a user