diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lastexpress/entities/alexei.cpp | 2 | ||||
-rw-r--r-- | engines/lastexpress/game/sound.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/entities/alexei.cpp b/engines/lastexpress/entities/alexei.cpp index b767eed5f4..0df76652f9 100644 --- a/engines/lastexpress/entities/alexei.cpp +++ b/engines/lastexpress/entities/alexei.cpp @@ -1552,7 +1552,7 @@ IMPLEMENT_FUNCTION(39, Alexei, function39) break; case kActionExitCompartment: - if (!params->param2 && !params->param2) + if (!params->param1 && !params->param2) getEntities()->drawSequenceLeft(kEntityAlexei, "306F"); break; diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp index c30be5c238..6392efe522 100644 --- a/engines/lastexpress/game/sound.cpp +++ b/engines/lastexpress/game/sound.cpp @@ -246,7 +246,7 @@ void SoundManager::setupEntry(SoundEntry *entry, Common::String name, FlagType f } void SoundManager::setEntryType(SoundEntry *entry, FlagType flag) { - switch (flag & kFlagType7) { + switch (flag & kFlagType9) { default: case kFlagNone: entry->type = _currentType; |