aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/detection.cpp
diff options
context:
space:
mode:
authorEvgeny Grechnikov2018-10-14 17:29:47 +0300
committerEvgeny Grechnikov2018-10-14 17:29:47 +0300
commitd36aadd3a68883cd22b77d8c247dfc4ff17581b7 (patch)
tree7f4d4ff47b70c9e25b5663c807a368b7a7d25267 /engines/lab/detection.cpp
parentb13e2352426c78ee4628e445bace363399fdd206 (diff)
downloadscummvm-rg350-d36aadd3a68883cd22b77d8c247dfc4ff17581b7.tar.gz
scummvm-rg350-d36aadd3a68883cd22b77d8c247dfc4ff17581b7.tar.bz2
scummvm-rg350-d36aadd3a68883cd22b77d8c247dfc4ff17581b7.zip
LASTEXPRESS: fix constants in sound serializer
Wrong enum member used: (status & 0x7000000) should be checked against 0x3000000, not against 3 (this is a check of sound type to skip menu sounds in savefiles). Activate delay should not be compared with sound volume; comparison with 0x8000000 is just a sanity check against overflow.
Diffstat (limited to 'engines/lab/detection.cpp')
0 files changed, 0 insertions, 0 deletions