]> granicus.if.org Git - nethack/commitdiff
fix pull request #523 - lighting on baalz level
authorPatR <rankin@nethack.org>
Sat, 29 May 2021 20:33:15 +0000 (13:33 -0700)
committerPatR <rankin@nethack.org>
Sat, 29 May 2021 20:33:15 +0000 (13:33 -0700)
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

dat/baalz.lua
doc/fixes37.0

index d75e6e3a2f315e7ab0ded2cb286159ef1c14356c..11606357dabacf71edafab88b56d43366afe9720 100644 (file)
@@ -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.
 
index c279fbe4b94668a6fcc1952d04fcb374510aba0a..737b1350c062003a09c75b5e1368fd972ec06cf8 100644 (file)
@@ -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