Make DUNGEON_OVERVIEW unconditional.
This commit is contained in:
6
src/do.c
6
src/do.c
@@ -1107,9 +1107,7 @@ boolean at_stairs, falling, portal;
|
||||
keepdogs(FALSE);
|
||||
if (u.uswallow) /* idem */
|
||||
u.uswldtim = u.uswallow = 0;
|
||||
#ifdef DUNGEON_OVERVIEW
|
||||
recalc_mapseen(); /* recalculate map overview before we leave the level */
|
||||
#endif /* DUNGEON_OVERVIEW */
|
||||
/*
|
||||
* We no longer see anything on the level. Make sure that this
|
||||
* follows u.uswallow set to null since uswallow overrides all
|
||||
@@ -1136,11 +1134,9 @@ boolean at_stairs, falling, portal;
|
||||
/* discard unreachable levels; keep #0 */
|
||||
for (l_idx = maxledgerno(); l_idx > 0; --l_idx)
|
||||
delete_levelfile(l_idx);
|
||||
#ifdef DUNGEON_OVERVIEW
|
||||
/* mark #overview data for all dungeon branches as uninteresting */
|
||||
for (l_idx = 0; l_idx < n_dgns; ++l_idx)
|
||||
remdun_mapseen(l_idx);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (Is_rogue_level(newlevel) || Is_rogue_level(&u.uz))
|
||||
@@ -1148,13 +1144,11 @@ boolean at_stairs, falling, portal;
|
||||
#ifdef USE_TILES
|
||||
substitute_tiles(newlevel);
|
||||
#endif
|
||||
#ifdef DUNGEON_OVERVIEW
|
||||
/* record this level transition as a potential seen branch unless using
|
||||
* some non-standard means of transportation (level teleport).
|
||||
*/
|
||||
if ((at_stairs || falling || portal) && (u.uz.dnum != newlevel->dnum))
|
||||
recbranch_mapseen(&u.uz, newlevel);
|
||||
#endif /* DUNGEON_OVERVIEW */
|
||||
assign_level(&u.uz0, &u.uz);
|
||||
assign_level(&u.uz, newlevel);
|
||||
assign_level(&u.utolev, newlevel);
|
||||
|
||||
Reference in New Issue
Block a user