From: Holger Schemel Date: Fri, 30 Oct 2015 15:12:06 +0000 (+0100) Subject: fixed bug (that may cause a crash) with wrong type of config option X-Git-Tag: 4.0.0.0-rc1~128 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=185d48f323f25ab796f19dea1142f59711cedc82;p=rocksndiamonds.git fixed bug (that may cause a crash) with wrong type of config option --- 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[] =