From 30a0cab66f5d578e165002ce3c6d0f4f8d2755d8 Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 2 Jan 2022 00:35:52 -0800 Subject: [PATCH] tiled_map option It was possible to toggle ascii_map On (which toggles tiled_map Off) and Off (so tiled_map On) during play, but tiled_map was marked as config-file only so the converse pair of operations weren't allowed. Allow tiled_map to be toggled On or Off during play. --- include/optlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/optlist.h b/include/optlist.h index ff7b9d95b..0cb3bbcd9 100644 --- a/include/optlist.h +++ b/include/optlist.h @@ -480,7 +480,7 @@ opt_##a, "height of tiles") NHOPTC(tile_width, 20, opt_in, set_gameview, Yes, Yes, No, No, NoAlias, "width of tiles") - NHOPTB(tiled_map, 0, opt_in, set_in_config, tiled_map_Def, Yes, No, No, + NHOPTB(tiled_map, 0, opt_in, set_in_game, tiled_map_Def, Yes, No, No, NoAlias, &iflags.wc_tiled_map) NHOPTB(time, 0, opt_in, set_in_game, Off, Yes, No, No, NoAlias, &flags.time)