LASTEXPRESS: Fix logic comparison

This commit is contained in:
Eugene Sandulenko 2016-05-03 17:12:36 +02:00
parent 0d44f77ab3
commit acfcbd5919

View File

@ -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;