From 7627092478e9f3b382435bbc7878433deb5aa1a2 Mon Sep 17 00:00:00 2001 From: Martin Janiczek Date: Tue, 25 Oct 2022 08:05:09 +0200 Subject: [PATCH] Make sfall key naming consistent (#172) --- src/sfall_config.h | 2 +- src/worldmap.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfall_config.h b/src/sfall_config.h index 7b4f83e..b2c8859 100644 --- a/src/sfall_config.h +++ b/src/sfall_config.h @@ -58,7 +58,7 @@ namespace fallout { #define SFALL_CONFIG_GAME_DIALOG_FIX_KEY "DialogueFix" #define SFALL_CONFIG_TWEAKS_FILE_KEY "TweaksFile" #define SFALL_CONFIG_GAME_DIALOG_GENDER_WORDS_KEY "DialogGenderWords" -#define SFALL_CONFIG_TOWN_MAP_HOTKEYS_FIX "TownMapHotkeysFix" +#define SFALL_CONFIG_TOWN_MAP_HOTKEYS_FIX_KEY "TownMapHotkeysFix" #define SFALL_CONFIG_BURST_MOD_DEFAULT_CENTER_MULTIPLIER 1 #define SFALL_CONFIG_BURST_MOD_DEFAULT_CENTER_DIVISOR 3 diff --git a/src/worldmap.cc b/src/worldmap.cc index 481ca00..2a46d59 100644 --- a/src/worldmap.cc +++ b/src/worldmap.cc @@ -847,7 +847,7 @@ int wmWorldMap_init() // SFALL gTownMapHotkeysFix = true; - configGetBool(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_TOWN_MAP_HOTKEYS_FIX, &gTownMapHotkeysFix); + configGetBool(&gSfallConfig, SFALL_CONFIG_MISC_KEY, SFALL_CONFIG_TOWN_MAP_HOTKEYS_FIX_KEY, &gTownMapHotkeysFix); return 0; }