diff options
author | Matthew Stewart | 2018-05-06 04:13:10 -0400 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-09 08:37:30 +0200 |
commit | 9c2ed1d9b72036b1d1a052b1a4826cc8402bbb21 (patch) | |
tree | e49df1ae15ac4f7c49c82bc0f475789db8d68fa3 /engines/startrek/text.cpp | |
parent | fd26d0a790342b086fc9430d3cb9d4449104e6ce (diff) | |
download | scummvm-rg350-9c2ed1d9b72036b1d1a052b1a4826cc8402bbb21.tar.gz scummvm-rg350-9c2ed1d9b72036b1d1a052b1a4826cc8402bbb21.tar.bz2 scummvm-rg350-9c2ed1d9b72036b1d1a052b1a4826cc8402bbb21.zip |
STARTREK: Implement sound effects in the midis
Removed amiga and mac sound code for now since I can't test it.
Diffstat (limited to 'engines/startrek/text.cpp')
-rw-r--r-- | engines/startrek/text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/startrek/text.cpp b/engines/startrek/text.cpp index 6ac31b02a4..fe2f0eeb6c 100644 --- a/engines/startrek/text.cpp +++ b/engines/startrek/text.cpp @@ -328,13 +328,13 @@ int Graphics::handleTextboxEvents(uint32 ticksUntilClickingEnabled, bool arg4) { case TREKEVENT_LBUTTONDOWN: if (_activeMenu->selectedButton != -1) { - _vm->playSound(0x10); + _vm->playSoundEffectIndex(0x10); return _activeMenu->retvals[_activeMenu->selectedButton]; } else { Common::Point mouse = getMousePos(); if (getMenuButtonAt(*_activeMenu, mouse.x, mouse.y) == -1) { - _vm->playSound(0x10); + _vm->playSoundEffectIndex(0x10); return TEXTEVENT_LCLICK_OFFBUTTON; } } |