diff options
author | Julien Templier | 2011-01-25 04:25:06 +0000 |
---|---|---|
committer | Julien Templier | 2011-01-25 04:25:06 +0000 |
commit | 6400659ead45000485ddfbeb22ba9d48f1b7bde2 (patch) | |
tree | f9267e0f02ea5a9a44076fb8e4207f23c0336cf0 | |
parent | e5304457b4aa17cd7a96f8404ecca7c3db152909 (diff) | |
download | scummvm-rg350-6400659ead45000485ddfbeb22ba9d48f1b7bde2.tar.gz scummvm-rg350-6400659ead45000485ddfbeb22ba9d48f1b7bde2.tar.bz2 scummvm-rg350-6400659ead45000485ddfbeb22ba9d48f1b7bde2.zip |
LASTEXPRESS: Correct typos in Alexei logic and sound code
svn-id: r55523
-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; |