aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx/music_switch_reverse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/gfx/music_switch_reverse.cpp')
-rw-r--r--engines/titanic/gfx/music_switch_reverse.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/gfx/music_switch_reverse.cpp b/engines/titanic/gfx/music_switch_reverse.cpp
index 9fe6d51d47..674119d571 100644
--- a/engines/titanic/gfx/music_switch_reverse.cpp
+++ b/engines/titanic/gfx/music_switch_reverse.cpp
@@ -39,8 +39,9 @@ void CMusicSwitchReverse::load(SimpleFile *file) {
file->readNumber();
CMusicSwitch::load(file);
}
+
bool CMusicSwitchReverse::MusicSettingChangedMsg(CMusicSettingChangedMsg *msg) {
- if (_fieldEC) {
+ if (_enabled) {
if (++_controlVal > _controlMax)
_controlVal = 0;