summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godabil.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-22 11:40:10 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-22 11:44:34 +0200
commit916a89eb14634f428ea16b873377634abfd03df1 (patch)
treeb1d940db2684eb141b8c3682dfc15192a1928ee8 /crawl-ref/source/godabil.cc
parent5111da635a084595a19328b1746277652b5b46b9 (diff)
downloadcrawl-ref-916a89eb14634f428ea16b873377634abfd03df1.tar.gz
crawl-ref-916a89eb14634f428ea16b873377634abfd03df1.zip
Make the out of time flash lightblue, cyan is taken.
Diffstat (limited to 'crawl-ref/source/godabil.cc')
-rw-r--r--crawl-ref/source/godabil.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc
index 1fcc6bfbdf..7414259429 100644
--- a/crawl-ref/source/godabil.cc
+++ b/crawl-ref/source/godabil.cc
@@ -565,18 +565,19 @@ void chronos_time_step(int pow) // pow is the number of turns to skip
coord_def old_pos = you.pos();
mpr("You step out of the flow of time.");
- you.flash_colour = LIGHTCYAN;
+ you.flash_colour = LIGHTBLUE;
viewwindow(true, true);
you.moveto(coord_def(0, 0));
you.duration[DUR_TIME_STEP] = pow;
you.time_taken = 10;
- while(you.duration[DUR_TIME_STEP]-- > 0)
+ do
{
run_environment_effects();
handle_monsters();
manage_clouds();
}
+ while (--you.duration[DUR_TIME_STEP] > 0);
// Update corpses, etc. This does also shift monsters, but only by a tiny bit.
update_level(pow*10);