mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 01:07:22 +00:00
ILLUSIONS: JANITORIAL: Silence -Wbitwise-instead-of-logical warning
This commit is contained in:
parent
2fa3484f5e
commit
614925d85a
@ -483,7 +483,7 @@ Sound *SoundMan::getSound(uint32 soundEffectId) {
|
||||
}
|
||||
|
||||
void SoundMan::updateMidi() {
|
||||
if (_midiPlayer->isIdle() & !_midiMusicQueue.empty()) {
|
||||
if (_midiPlayer->isIdle() && !_midiMusicQueue.empty()) {
|
||||
uint32 musicId = _midiMusicQueue.front();
|
||||
_midiMusicQueue.remove_at(0);
|
||||
_midiPlayer->play(musicId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user