diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-09 22:44:43 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-09 23:21:41 +0100 |
commit | f8d69cbe96b1bcb39b90554800a60d99c0a596f7 (patch) | |
tree | 331391fc0aac88b357e8a6fae173cb08c380fa98 /crawl-ref/source/spells3.cc | |
parent | 4faab1b80eaf21e1e12c41316d596fb5be45e79d (diff) | |
download | crawl-ref-f8d69cbe96b1bcb39b90554800a60d99c0a596f7.tar.gz crawl-ref-f8d69cbe96b1bcb39b90554800a60d99c0a596f7.zip |
Remove option draw_it from viewwindow.
The only use was just removed.
Also move the draw check closer to where it's used.
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |