aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/sound/entry.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-03 17:12:36 +0200
committerEugene Sandulenko2016-05-03 17:12:36 +0200
commitacfcbd591965ddd1bd63621fab9840036582068d (patch)
treeb56e0955b1dbaf4bc34f632059a812869859c750 /engines/lastexpress/sound/entry.cpp
parent0d44f77ab39191049935aa06a5275b3cb3f6207a (diff)
downloadscummvm-rg350-acfcbd591965ddd1bd63621fab9840036582068d.tar.gz
scummvm-rg350-acfcbd591965ddd1bd63621fab9840036582068d.tar.bz2
scummvm-rg350-acfcbd591965ddd1bd63621fab9840036582068d.zip
LASTEXPRESS: Fix logic comparison
Diffstat (limited to 'engines/lastexpress/sound/entry.cpp')
-rw-r--r--engines/lastexpress/sound/entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/sound/entry.cpp b/engines/lastexpress/sound/entry.cpp
index 697e6e1269..7308214551 100644
--- a/engines/lastexpress/sound/entry.cpp
+++ b/engines/lastexpress/sound/entry.cpp
@@ -366,7 +366,7 @@ void SoundEntry::saveLoadWithSerializer(Common::Serializer &s) {
assert(_name1.size() <= 16);
assert(_name2.size() <= 16);
- if (_name2.matchString("NISSND?") && (_status.status & kFlagType9) != kFlag3) {
+ if (_name2.matchString("NISSND?") && ((_status.status & kFlagType9) != kFlag3)) {
s.syncAsUint32LE(_status.status);
s.syncAsUint32LE(_type);
s.syncAsUint32LE(_blockCount); // field_8;