aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/engine/chargen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/engine/chargen.cpp')
-rw-r--r--engines/kyra/engine/chargen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/engine/chargen.cpp b/engines/kyra/engine/chargen.cpp
index 7adca7f4da..2fc1586b35 100644
--- a/engines/kyra/engine/chargen.cpp
+++ b/engines/kyra/engine/chargen.cpp
@@ -637,7 +637,7 @@ int CharacterGenerator::getInput(Button *buttonList) {
if (_vm->game() == GI_EOB1 && _vm->sound()->checkTrigger()) {
_vm->sound()->resetTrigger();
_vm->snd_playSong(20);
- } else if (_vm->game() == GI_EOB2 && !_vm->sound()->isPlaying()) {
+ } else if (_vm->game() == GI_EOB2 && _vm->gameFlags().platform != Common::kPlatformAmiga && !_vm->sound()->isPlaying()) {
// WORKAROUND for EOB II: The original implements the same sound trigger check as in EOB I.
// However, Westwood seems to have forgotten to set the trigger at the end of the AdLib song,
// so that the music will not loop. We simply check whether the sound driver is still playing.