]> granicus.if.org Git - nethack/commitdiff
set g.opt_need_redraw on ingame cond_foo change
authornhmall <nhmall@nethack.org>
Sun, 9 Feb 2020 02:38:14 +0000 (21:38 -0500)
committernhmall <nhmall@nethack.org>
Sun, 9 Feb 2020 02:38:14 +0000 (21:38 -0500)
src/options.c

index 819d41409efd4a10a5ec8758e55b184e87a7fc8d..0b258dbc3ca9fa0086b8ba0b6985f5b72b0b92ec 100644 (file)
@@ -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)