Skip to content

Commit

Permalink
display/map glitch in C quest temple
Browse files Browse the repository at this point in the history
     From a bug report:  in the irregularly
shaped temple on the C quest home level (the room where the leader is
located), the lit south wall contained a dark spot where a secret door
is located.  It stayed blank until you got right next to it rather than
just until you got to a good angle facing it.  (Magic mapping hides the
problem by showing that spot as a wall instead of leaving it as unseen;
you have to walk or teleport to that room in order to see the problem.)
The code that lights walls and doors which border lit rooms neglected
temporary walls produced by secret doors.
  • Loading branch information
nethack.rankin committed Mar 1, 2008
1 parent f2e3953 commit 6e07a2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/fixes34.4
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ blinded invisible hero can't see self as invisible via ';' or '/'
a hangup save while picking up gold from shop floor could duplicate that gold
jellyfish do not technically have a head
potion explosion during failed alchemy should awaken nearby monsters
lit south wall of C quest leader's room contained dark gap at secret door spot


Platform- and/or Interface-Specific Fixes
Expand Down
5 changes: 3 additions & 2 deletions src/mkmap.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SCCS Id: @(#)mkmap.c 3.5 2007/08/01 */
/* SCCS Id: @(#)mkmap.c 3.5 2008/02/29 */
/* Copyright (c) J. C. Collet, M. Stephenson and D. Cohrs, 1992 */
/* NetHack may be freely redistributed. See license for details. */

Expand Down Expand Up @@ -190,7 +190,8 @@ flood_fill_rm(sx, sy, rmno, lit, anyroom)
for(jj = sy-1; jj <= sy+1; jj++)
if(isok(ii,jj) &&
(IS_WALL(levl[ii][jj].typ) ||
IS_DOOR(levl[ii][jj].typ))) {
IS_DOOR(levl[ii][jj].typ) ||
levl[ii][jj].typ == SDOOR)) {
levl[ii][jj].edge = 1;
if(lit) levl[ii][jj].lit = lit;
if ((int) levl[ii][jj].roomno != rmno)
Expand Down

0 comments on commit 6e07a2f

Please sign in to comment.