aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorCameron Cawley2019-12-23 23:33:33 +0000
committerCameron Cawley2019-12-23 23:33:33 +0000
commit2be6820d703a2333776b77e521dba336bc5b08f1 (patch)
treeb552d08af599c01a558df45ce6c74bfc2fa41427 /engines/lure
parentcf7b86ceb99fbb977bcdf1731200182f1df024de (diff)
downloadscummvm-rg350-2be6820d703a2333776b77e521dba336bc5b08f1.tar.gz
scummvm-rg350-2be6820d703a2333776b77e521dba336bc5b08f1.tar.bz2
scummvm-rg350-2be6820d703a2333776b77e521dba336bc5b08f1.zip
LURE: Fix crash in detection code when compiling with TTS enabled
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/detection.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/lure/detection.cpp b/engines/lure/detection.cpp
index abc766e263..be62b5b480 100644
--- a/engines/lure/detection.cpp
+++ b/engines/lure/detection.cpp
@@ -67,15 +67,17 @@ static const PlainGameDescriptor lureGames[] = {
#define GAMEOPTION_TTS_NARRATOR GUIO_GAMEOPTIONS1
static const ADExtraGuiOptionsMap optionsList[] = {
-
- GAMEOPTION_TTS_NARRATOR,
+ {
+ GAMEOPTION_TTS_NARRATOR,
{
_s("TTS Narrator"),
_s("Use TTS to read the descriptions (if TTS is available)"),
"tts_narrator",
false
}
+ },
+ AD_EXTRA_GUI_OPTIONS_TERMINATOR
};
#endif