diff options
author | D G Turner | 2012-06-05 01:00:01 +0100 |
---|---|---|
committer | D G Turner | 2012-06-05 01:00:01 +0100 |
commit | 7d29e4017d37f7aee4035b3d7288c8c5478633be (patch) | |
tree | 61a48d4b5887780863dcafc3d54d4e9428c5fe6a /engines/dreamweb/sound.h | |
parent | b8989cafc725a262d6f3c941c44f2e1a54d6818d (diff) | |
download | scummvm-rg350-7d29e4017d37f7aee4035b3d7288c8c5478633be.tar.gz scummvm-rg350-7d29e4017d37f7aee4035b3d7288c8c5478633be.tar.bz2 scummvm-rg350-7d29e4017d37f7aee4035b3d7288c8c5478633be.zip |
DREAMWEB: Modify Sound code to better match original behaviour.
This fixes bug #3531635 - "DREAMWEB: doors don't play "open" sound when
opening".
In addition, the resultant code is simpler and should better match the
original behaviour and a basic playtest has not shown any regressions.
Diffstat (limited to 'engines/dreamweb/sound.h')
-rw-r--r-- | engines/dreamweb/sound.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dreamweb/sound.h b/engines/dreamweb/sound.h index a38dbf3c1a..1ab06dc694 100644 --- a/engines/dreamweb/sound.h +++ b/engines/dreamweb/sound.h @@ -68,13 +68,12 @@ private: Audio::SoundHandle _channelHandle[2]; - uint8 _channel0, _channel1; - uint8 _currentSample; uint8 _channel0Playing; uint8 _channel0Repeat; bool _channel0NewSound; uint8 _channel1Playing; + bool _channel1NewSound; uint8 _volume; uint8 _volumeTo; |