From 9610de0a66d7ef5a5cae8bf3384f904946e7fa81 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Tue, 2 Aug 2022 21:04:58 +0300 Subject: [PATCH] Add criticals config defaults --- src/sfall_config.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sfall_config.cc b/src/sfall_config.cc index 1595087..3fb83f3 100644 --- a/src/sfall_config.cc +++ b/src/sfall_config.cc @@ -34,6 +34,8 @@ bool sfallConfigInit(int argc, char** argv) configSetInt(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_SKIP_OPENING_MOVIES_KEY, 0); configSetString(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_STARTING_MAP_KEY, ""); configSetBool(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_DISPLAY_KARMA_CHANGES_KEY, false); + configSetInt(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_OVERRIDE_CRITICALS_MODE_KEY, 2); + configSetString(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_OVERRIDE_CRITICALS_FILE_KEY, ""); configSetBool(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_REMOVE_CRITICALS_TIME_LIMITS_KEY, false); char path[COMPAT_MAX_PATH];