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
* Note: If flags.lit_corridor is set, then corridors act like room
* squares. That is, they light up if in night vision range.
* If flags.lit_corridor is not set, then corridors will
- * remain dark unless lit by a light spell.
+ * remain dark unless lit by a light spell and may darken
+ * again, as discussed above.
*
* These checks and changes must be here and not in back_to_glyph().
* They are dependent on the position being out of sight.
*/
else if (!lev->waslit) {
- if (flags.lit_corridor && lev->glyph == cmap_to_glyph(S_litcorr) &&
- lev->typ == CORR)
+ if (lev->glyph == cmap_to_glyph(S_litcorr) && lev->typ == CORR)
show_glyph(x, y, lev->glyph = cmap_to_glyph(S_corr));
else if (lev->glyph == cmap_to_glyph(S_room) && lev->typ == ROOM)
show_glyph(x, y, lev->glyph = cmap_to_glyph(S_stone));