diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 17:37:57 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 18:23:00 +0100 |
commit | 5059f548248efbc905c16a7cfbaa41d98c30dcb0 (patch) | |
tree | 0aa65a78de92869f11b5b6b33ebc8232a745ac35 /crawl-ref | |
parent | ff283eb9d0c4316165e9d8a6d9eb13b28a8f7c59 (diff) | |
download | crawl-ref-5059f548248efbc905c16a7cfbaa41d98c30dcb0.tar.gz crawl-ref-5059f548248efbc905c16a7cfbaa41d98c30dcb0.zip |
Make some viewwindow show update requirements explicit, remove others.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/directn.cc | 6 | ||||
-rw-r--r-- | crawl-ref/source/misc.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/spells3.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/travel.cc | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 4293da9428..ba02499131 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -1516,7 +1516,7 @@ void direction(dist& moves, targetting_type restricts, // To update visual branding of friendlies. Only // seems capabable of adding bolding, not removing it, // though. - viewwindow(false); + viewwindow(false, true); } break; @@ -1668,7 +1668,7 @@ void direction(dist& moves, targetting_type restricts, if (need_beam_redraw) { #ifndef USE_TILE - viewwindow(false); + viewwindow(false, false); #endif if (show_beam && have_beam) { @@ -1704,7 +1704,7 @@ void direction(dist& moves, targetting_type restricts, #endif } #ifdef USE_TILE - viewwindow(false); + viewwindow(false, false); #endif } skip_iter = false; // Only skip one iteration at most. diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index f2917cd9fd..c3f9f84956 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -2266,7 +2266,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(false); + viewwindow(false, true); mpr("Heavy smoke blows from the lock!"); more(); diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index d50eb51328..9a598aa9c7 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1420,7 +1420,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(false); + viewwindow(false, true); StashTrack.update_stash(); if (you.duration[DUR_CONDENSATION_SHIELD] > 0) diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index 0c8352c998..23c2e5e6c4 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -3847,7 +3847,7 @@ void runrest::stop() stop_delay(); if (need_redraw) - viewwindow(false); + viewwindow(false, true); _reset_zigzag_info(); } |