aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorLittleboy2014-06-11 21:35:42 -0400
committerLittleboy2014-06-16 18:46:28 -0400
commit0a4cf53df14296fedeb6e3db0b3f53192a43a14a (patch)
tree950d129f960de0be3fe1efa4b53e7d3b93c0b681 /engines
parent4f78d1faec9838e5523292b1db39500b24d45059 (diff)
downloadscummvm-rg350-0a4cf53df14296fedeb6e3db0b3f53192a43a14a.tar.gz
scummvm-rg350-0a4cf53df14296fedeb6e3db0b3f53192a43a14a.tar.bz2
scummvm-rg350-0a4cf53df14296fedeb6e3db0b3f53192a43a14a.zip
LASTEXPRESS: Fix comparison in sound entry serialization. CID 1004148
Diffstat (limited to 'engines')
-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 f2967fd49f..697e6e1269 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 & kFlagType7) != kFlag3) {
+ if (_name2.matchString("NISSND?") && (_status.status & kFlagType9) != kFlag3) {
s.syncAsUint32LE(_status.status);
s.syncAsUint32LE(_type);
s.syncAsUint32LE(_blockCount); // field_8;