From: nhmall Date: Sun, 9 Feb 2020 02:38:14 +0000 (-0500) Subject: set g.opt_need_redraw on ingame cond_foo change X-Git-Tag: NetHack-3.7.0_WIP-2020-02-14~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e0c668e835921535244a2648603b948a57b8ab3;p=nethack set g.opt_need_redraw on ingame cond_foo change --- diff --git a/src/options.c b/src/options.c index 819d41409..0b258dbc3 100644 --- a/src/options.c +++ b/src/options.c @@ -4120,6 +4120,7 @@ boolean tinitial, tfrom_file; } if (!strncmpi(opts, "cond_", sizeof "cond_" - 1)) { condopt(boolopt[i].addr, negated); + g.opt_need_redraw = TRUE; } /* only do processing below if setting with doset() */ if (g.opt_initial)