aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-04 18:26:37 +0000
committerJohannes Schickel2008-04-04 18:26:37 +0000
commit35a422f00e39bb240957b8bebe69f99b461a9718 (patch)
treeed5ed075389a2061928c66de65982c401a1a3420
parent24439e7056f540ceaf78b7cc3e671a0c0dcd7f79 (diff)
downloadscummvm-rg350-35a422f00e39bb240957b8bebe69f99b461a9718.tar.gz
scummvm-rg350-35a422f00e39bb240957b8bebe69f99b461a9718.tar.bz2
scummvm-rg350-35a422f00e39bb240957b8bebe69f99b461a9718.zip
Disable buttons properly for non CD version.
svn-id: r31388
-rw-r--r--engines/kyra/gui_v2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/gui_v2.cpp b/engines/kyra/gui_v2.cpp
index 405b02c208..30c74e6900 100644
--- a/engines/kyra/gui_v2.cpp
+++ b/engines/kyra/gui_v2.cpp
@@ -1226,8 +1226,11 @@ int GUI_v2::optionsButton(Button *button) {
if (!_vm->gameFlags().isTalkie) {
_gameOptions.item[2].enabled = false; // language settings
+ _gameOptions.item[2].labelId = 0;
_gameOptions.item[3].enabled = false; // text settings
+ _audioOptions.item[2].labelId = 0;
_audioOptions.item[3].enabled = false; // voice volume settings
+ _audioOptions.item[3].labelId = 0;
}
for (uint i = 0; i < ARRAYSIZE(_menuButtons); ++i) {