mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
KYRA: Fix error when checking is subtitles setting is set
This should hopefully fix bug #12287
This commit is contained in:
parent
62b181b628
commit
2553e85210
@ -566,7 +566,7 @@ void KyraEngine_v1::registerDefaultSettings() {
|
||||
// the global subtitles settings, we're using this hack to enable subtitles
|
||||
// for fan translations
|
||||
const Common::ConfigManager::Domain *cur = ConfMan.getActiveDomain();
|
||||
if (!cur || (cur && cur->getVal("subtitles").empty()))
|
||||
if (!cur || (cur && !cur->contains("subtitles")))
|
||||
ConfMan.setBool("subtitles", true);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user