From afb9ff00484ce9aa5cd53afec826f211fd569809 Mon Sep 17 00:00:00 2001 From: jepael Date: Wed, 17 Jul 2019 22:10:39 +0300 Subject: SCUMM: (iMUSE/Amiga) - Fix compiler warning (#1751) --- engines/scumm/imuse/drivers/amiga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/scumm/imuse/drivers/amiga.cpp b/engines/scumm/imuse/drivers/amiga.cpp index c119e14981..9002e2b9f4 100644 --- a/engines/scumm/imuse/drivers/amiga.cpp +++ b/engines/scumm/imuse/drivers/amiga.cpp @@ -66,7 +66,7 @@ public: void updateLevel(); void updateEnvelope(); - uint8 note() const { return _note; } + uint8 getNote() const { return _note; } SoundChannel_Amiga *next() const { return _next; } private: @@ -504,7 +504,7 @@ void IMusePart_Amiga::send(uint32 b) { void IMusePart_Amiga::noteOff(byte note) { for (SoundChannel_Amiga *cur = _out; cur; cur = cur->next()) { - if (note == cur->note()) { + if (note == cur->getNote()) { if (_sustain) cur->ctrl_sustain(true); else -- cgit v1.2.3