inappropriate lit_corridor check

To reproduce: disable lit_corridor, enter a corridor, read a scroll of
light, then read a cursed scroll of light.  The corridor won't darken again.
A test of flags.lit_corridor in newsym was at fault.  I'm guessing this was
never noticed because lit_corridor is on by default on Windows and the
default lit and unlit corridor symbols are the same on most other platforms.
This commit is contained in:
cohrs
2003-10-23 06:49:22 +00:00
parent 7ad89fbbdd
commit f7a681a139
2 changed files with 5 additions and 3 deletions

View File

@@ -68,6 +68,8 @@ fix an impossible rndmonst: bad `mndx' bug
pets should not try to go after objects that they can't reach
cutting a shopkeeper polymorphed in to a long worm would generate strange
messages and could cause a crash
reading a cursed scroll of light in a corridor wouldn't display correctly
if lit_corridor option was disabled
Platform- and/or Interface-Specific Fixes