diff --git a/src/am_map.c b/src/am_map.c index 390ec49e..494e3134 100644 --- a/src/am_map.c +++ b/src/am_map.c @@ -31,6 +31,7 @@ #include "d_deh.h" // Ty 03/27/98 - externalizations #include "m_input.h" #include "m_menu.h" +#include "hu_stuff.h" //jff 1/7/98 default automap colors added int mapcolor_back; // map background @@ -2316,6 +2317,9 @@ void AM_ColorPreset (void) {&mapcolor_frnd, {252, 252, 4}}, // am_thingcolor_friend {&mapcolor_enemy, {177, 112, 4}}, // am_thingcolor_monster {&mapcolor_item, {231, 112, 4}}, // am_thingcolor_item + + {&hudcolor_titl, {CR_GOLD, CR_NONE, CR_GRAY}}, // DrawAutomapHUD() + {NULL, { 0, 0, 0}}, }; @@ -2325,6 +2329,12 @@ void AM_ColorPreset (void) { *mapcolors[i].var = mapcolors[i].color[mapcolor_preset]; } + + // [FG] immediately apply changes if the automap is visible through the menu + if (automapactive && menu_background != background_on) + { + HU_Start(); + } } //---------------------------------------------------------------------------- diff --git a/src/m_misc.c b/src/m_misc.c index 626edd65..cafbb10e 100644 --- a/src/m_misc.c +++ b/src/m_misc.c @@ -3050,7 +3050,8 @@ boolean M_ParseOption(const char *p, boolean wad) return 1; // [FG] bind mapcolor options to the mapcolor preset menu item - if (strncmp(name, "mapcolor_", 9) == 0) + if (strncmp(name, "mapcolor_", 9) == 0 || + strcmp(name, "hudcolor_titl") == 0) { default_t *dp_preset = M_LookupDefault("mapcolor_preset"); dp->setup_menu = dp_preset->setup_menu;