From f8d69cbe96b1bcb39b90554800a60d99c0a596f7 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 9 Nov 2009 22:44:43 +0100 Subject: Remove option draw_it from viewwindow. The only use was just removed. Also move the draw check closer to where it's used. --- crawl-ref/source/misc.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/misc.cc') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index 003be3ef61..505a4328b0 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1935,7 +1935,7 @@ void up_stairs(dungeon_feature_type force_stair, new_level(); - viewwindow(true, true); + viewwindow(true); // Left Zot without enough runes to get back in (because they were // destroyed), but need to get back in Zot to get the Orb? @@ -2247,7 +2247,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, update_screen(); #else you.flash_colour = LIGHTGREEN; - viewwindow(true, false); + viewwindow(false); #endif mpr("The lock glows an eerie green colour!"); more(); @@ -2255,7 +2255,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, mprf("You insert %s into the lock.", you.inv[runes[1]].name(DESC_NOCAP_THE).c_str()); big_cloud(CLOUD_BLUE_SMOKE, KC_YOU, you.pos(), 20, 7 + random2(7)); - viewwindow(true, false); + viewwindow(false); mpr("Heavy smoke blows from the lock!"); more(); @@ -2597,7 +2597,7 @@ void down_stairs( int old_level, dungeon_feature_type force_stair, trackers_init_new_level(true); - viewwindow(true, true); + viewwindow(true); maybe_update_stashes(); if (collect_travel_data) @@ -3115,7 +3115,7 @@ void reveal_secret_door(const coord_def& p) // until opened. grd(p) = feat_is_opaque(door) ? DNGN_DETECTED_SECRET_DOOR : DNGN_OPEN_DOOR; - viewwindow(true, false); + viewwindow(false); learned_something_new(TUT_SEEN_SECRET_DOOR, p); } -- cgit v1.2.3-54-g00ecf