From 3dbf807345fc23ea256c7b5feaea43efcd9d1dd9 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Sat, 4 Sep 2010 18:21:51 +0000 Subject: [PATCH] - Applied Chris's patch to fix hmi compilation error on Linux. SVN r2689 (trunk) --- src/sound/music_hmi_midiout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/music_hmi_midiout.cpp b/src/sound/music_hmi_midiout.cpp index c73c9f6197..c2075bf1a8 100644 --- a/src/sound/music_hmi_midiout.cpp +++ b/src/sound/music_hmi_midiout.cpp @@ -717,7 +717,7 @@ void HMISong::NoteOffQueue::AddNoteOff(DWORD delay, BYTE channel, BYTE key) bool HMISong::NoteOffQueue::Pop(AutoNoteOff &item) { item = (*this)[0]; - if (TArray::Pop((*this)[0])) + if (TArray::Pop((*this)[0])) { Heapify(); return true;