From: PatR Date: Sat, 29 May 2021 20:33:15 +0000 (-0700) Subject: fix pull request #523 - lighting on baalz level X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f2620b98c561d312ad6719ffc830f6874529478;p=nethack fix pull request #523 - lighting on baalz level Details for baalz level are different from other levels and that unintentionally gave it a chance to be lit. Force it to be unlit. Fixes #523 --- diff --git a/dat/baalz.lua b/dat/baalz.lua index d75e6e3a2..11606357d 100644 --- a/dat/baalz.lua +++ b/dat/baalz.lua @@ -3,7 +3,7 @@ -- Copyright (c) 1992 by M. Stephenson and Izchak Miller -- NetHack may be freely redistributed. See license for details. -- -des.level_init({ style = "solidfill", fg = " " }); +des.level_init({ style = "solidfill", fg = " ", lit = 0 }); -- TODO FIXME: see baalz_fixup - the legs get removed currently. diff --git a/doc/fixes37.0 b/doc/fixes37.0 index c279fbe4b..737b1350c 100644 --- a/doc/fixes37.0 +++ b/doc/fixes37.0 @@ -1,4 +1,4 @@ -NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.540 $ $NHDT-Date: 1621387861 2021/05/19 01:31:01 $ +NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.553 $ $NHDT-Date: 1622320390 2021/05/29 20:33:10 $ General Fixes and Modified Features ----------------------------------- @@ -695,6 +695,7 @@ applying a book to check readability treated novels as if they were spellbooks #version was leaving the 'in_lua' flag set and if subsequent 'O' issued an error (example was an attempt to interactively set bouldersym to an invalid value), the error reporting routine crashed via segfault +lighting for baalz level defaulted to random and could end up being lit curses: 'msg_window' option wasn't functional for curses unless the binary also included tty support