From 0a4cf53df14296fedeb6e3db0b3f53192a43a14a Mon Sep 17 00:00:00 2001 From: Littleboy Date: Wed, 11 Jun 2014 21:35:42 -0400 Subject: LASTEXPRESS: Fix comparison in sound entry serialization. CID 1004148 --- engines/lastexpress/sound/entry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/lastexpress') 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; -- cgit v1.2.3