summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc15
1 files changed, 2 insertions, 13 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 415910a7e2..cdd0b3157f 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -1850,11 +1850,8 @@ void up_stairs(dungeon_feature_type force_stair,
const coord_def stair_pos = you.pos();
-#ifdef USE_TILE
- const bool newlevel =
-#endif
- load(stair_taken, LOAD_ENTER_LEVEL, old_level_type,
- old_level, old_where);
+ load(stair_taken, LOAD_ENTER_LEVEL, old_level_type,
+ old_level, old_where);
set_entry_cause(entry_cause, old_level_type);
entry_cause = you.entry_cause;
@@ -1888,10 +1885,6 @@ void up_stairs(dungeon_feature_type force_stair,
// Tell stash-tracker and travel that we've changed levels.
trackers_init_new_level(true);
-#ifdef USE_TILE
- TileNewLevel(newlevel);
-#endif // USE_TILE
-
if (collect_travel_data)
{
// Update stair information for the stairs we just ascended, and the
@@ -2455,10 +2448,6 @@ void down_stairs( int old_level, dungeon_feature_type force_stair,
trackers_init_new_level(true);
-#ifdef USE_TILE
- TileNewLevel(newlevel);
-#endif // USE_TILE
-
viewwindow(true, true);
if (collect_travel_data)