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/spells3.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 3266512406..facffd8eb8 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1412,7 +1412,7 @@ static bool _teleport_player(bool allow_control, bool new_abyss_area) // Update what we can see at the current location as well as its stash, // in case something happened in the exact turn that we teleported // (like picking up/dropping an item). - viewwindow(true, false); + viewwindow(false); StashTrack.update_stash(); if (you.duration[DUR_CONDENSATION_SHIELD] > 0) @@ -1825,7 +1825,7 @@ bool cast_sanctuary(const int power) mpr("You are suddenly bathed in radiance!"); you.flash_colour = WHITE; - viewwindow(true, false); + viewwindow(false); holy_word(100, HOLY_WORD_ZIN, you.pos(), true); -- cgit v1.2.3-54-g00ecf