aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/menu.cpp')
-rw-r--r--engines/hugo/menu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/hugo/menu.cpp b/engines/hugo/menu.cpp
index 26e0e0cbdb..31d874995a 100644
--- a/engines/hugo/menu.cpp
+++ b/engines/hugo/menu.cpp
@@ -121,14 +121,14 @@ void TopMenu::reflowLayout() {
_inventButton->resize(x * scale, y * scale, kButtonWidth * scale, kButtonHeight * scale);
x += kButtonWidth + kButtonPad;
- // Set the graphics to the 'on' buttons
+ // Set the graphics to the 'on' buttons, except for the variable ones
_whatButton->setGfx(arrayBmp[4 * kMenuWhat + scale - 1]);
- _musicButton->setGfx(arrayBmp[4 * kMenuMusic + scale - 1]);
- _soundFXButton->setGfx(arrayBmp[4 * kMenuSoundFX + scale - 1]);
+ _musicButton->setGfx(arrayBmp[4 * kMenuMusic + scale - 1 + ((_config.musicFl) ? 0 : 2)]);
+ _soundFXButton->setGfx(arrayBmp[4 * kMenuSoundFX + scale - 1 + ((_config.soundFl) ? 0 : 2)]);
_loadButton->setGfx(arrayBmp[4 * kMenuLoad + scale - 1]);
_saveButton->setGfx(arrayBmp[4 * kMenuSave + scale - 1]);
_recallButton->setGfx(arrayBmp[4 * kMenuRecall + scale - 1]);
- _turboButton->setGfx(arrayBmp[4 * kMenuTurbo + scale - 1]);
+ _turboButton->setGfx(arrayBmp[4 * kMenuTurbo + scale - 1 + ((_config.turboFl) ? 0 : 2)]);
_lookButton->setGfx(arrayBmp[4 * kMenuLook + scale - 1]);
_inventButton->setGfx(arrayBmp[4 * kMenuInventory + scale - 1]);
}