mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 17:03:05 +00:00
LILLIPUT: Fix Compiler Warning About Hiding Overloaded Virtual.
This commit is contained in:
parent
bdb307634f
commit
dd8e003602
@ -3307,7 +3307,7 @@ void LilliputScript::OC_stopObjectSound() {
|
||||
|
||||
Common::Point var4 = Common::Point(-1, getValue1() & 0xFF);
|
||||
|
||||
_vm->_soundHandler->stop(var4); // Stop Sound
|
||||
_vm->_soundHandler->stopSound(var4);
|
||||
}
|
||||
|
||||
void LilliputScript::OC_stopLocationSound() {
|
||||
@ -3315,7 +3315,7 @@ void LilliputScript::OC_stopLocationSound() {
|
||||
|
||||
Common::Point var4 = getPosFromScript();
|
||||
|
||||
_vm->_soundHandler->stop(var4);
|
||||
_vm->_soundHandler->stopSound(var4);
|
||||
}
|
||||
|
||||
void LilliputScript::OC_toggleSound() {
|
||||
|
@ -224,9 +224,10 @@ void LilliputSound::playMusic(int var1) {
|
||||
}
|
||||
}
|
||||
|
||||
void LilliputSound::stop(Common::Point pos) {
|
||||
debugC(1, kDebugSound, "LilliputSound::stop(%d - %d)", pos.x, pos.y);
|
||||
warning("LilliputSound::stop(%d - %d)", pos.x, pos.y);
|
||||
void LilliputSound::stopSound(Common::Point pos) {
|
||||
debugC(1, kDebugSound, "LilliputSound::stopSound(%d - %d)", pos.x, pos.y);
|
||||
warning("LilliputSound::stopSound(%d - %d)", pos.x, pos.y);
|
||||
// FIXME: Audio::MidiPlayer::stop() call required?
|
||||
}
|
||||
|
||||
void LilliputSound::toggleOnOff() {
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
void init();
|
||||
void refresh();
|
||||
void play(int var1, Common::Point var2, Common::Point var3, Common::Point var4);
|
||||
void stop(Common::Point pos);
|
||||
void stopSound(Common::Point pos);
|
||||
void toggleOnOff();
|
||||
void update();
|
||||
void remove();
|
||||
|
Loading…
x
Reference in New Issue
Block a user