aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx/music_switch_inversion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/gfx/music_switch_inversion.cpp')
-rw-r--r--engines/titanic/gfx/music_switch_inversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/gfx/music_switch_inversion.cpp b/engines/titanic/gfx/music_switch_inversion.cpp
index d11df79ab4..b6aa1be3e3 100644
--- a/engines/titanic/gfx/music_switch_inversion.cpp
+++ b/engines/titanic/gfx/music_switch_inversion.cpp
@@ -41,7 +41,7 @@ void CMusicSwitchInversion::load(SimpleFile *file) {
}
bool CMusicSwitchInversion::MusicSettingChangedMsg(CMusicSettingChangedMsg *msg) {
- if (_fieldEC) {
+ if (_enabled) {
if (++_controlVal > _controlMax)
_controlVal = 0;