From 185d48f323f25ab796f19dea1142f59711cedc82 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 30 Oct 2015 16:12:06 +0100 Subject: [PATCH] fixed bug (that may cause a crash) with wrong type of config option --- src/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/files.c b/src/files.c index ac73db93..df4887a0 100644 --- a/src/files.c +++ b/src/files.c @@ -8216,7 +8216,7 @@ static struct TokenInfo internal_setup_tokens[] = { TYPE_STRING, &sxi.fallback_sounds_file, "fallback_sounds_file" }, { TYPE_STRING, &sxi.fallback_music_file, "fallback_music_file" }, { TYPE_STRING, &sxi.default_level_series, "default_level_series" }, - { TYPE_STRING, &sxi.choose_from_top_leveldir, "choose_from_top_leveldir" }, + { TYPE_BOOLEAN,&sxi.choose_from_top_leveldir, "choose_from_top_leveldir" }, }; static struct TokenInfo options_setup_tokens[] = -- 2.34.1