diff options
author | Filippos Karapetis | 2012-03-31 13:55:03 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-03-31 13:55:03 +0300 |
commit | 6a49d3eadd7555a4f5f539ceb73fdfe370fce9da (patch) | |
tree | 9bee862bbd896efe29573c73938f84159be8e5b1 /engines/sci/engine | |
parent | 7f9c63239b2f360b6d96e8ff4dd007b80d990e46 (diff) | |
download | scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.tar.gz scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.tar.bz2 scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.zip |
ENGINES: Return all available custom GUI options if no target is specified
This is used to set default settings for all custom game options when an
engine starts
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/features.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp index a284c319c0..cad95b1c18 100644 --- a/engines/sci/engine/features.cpp +++ b/engines/sci/engine/features.cpp @@ -43,7 +43,7 @@ GameFeatures::GameFeatures(SegManager *segMan, Kernel *kernel) : _segMan(segMan) _sci2StringFunctionType = kSci2StringFunctionUninitialized; #endif _usesCdTrack = Common::File::exists("cdaudio.map"); - if (ConfMan.hasKey("use_cdaudio") && !ConfMan.getBool("use_cdaudio")) + if (!ConfMan.getBool("use_cdaudio")) _usesCdTrack = false; } |