diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 17:29:52 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 17:29:52 +0100 |
commit | 71adb1db298adf054f6ae453a5b40807fbf021d3 (patch) | |
tree | 7c5c057b70e2fc23e98f925a7c7d8d13d72a79a4 /crawl-ref/source/godabil.cc | |
parent | 6acd640e5aa287d45368f50bf5776e72b1fe4159 (diff) | |
download | crawl-ref-71adb1db298adf054f6ae453a5b40807fbf021d3.tar.gz crawl-ref-71adb1db298adf054f6ae453a5b40807fbf021d3.zip |
Wrap view flashing in flash_view.
This also removes env.show updates when flashing.
Diffstat (limited to 'crawl-ref/source/godabil.cc')
-rw-r--r-- | crawl-ref/source/godabil.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc index d7c635b2c6..508f6b3e64 100644 --- a/crawl-ref/source/godabil.cc +++ b/crawl-ref/source/godabil.cc @@ -1337,8 +1337,7 @@ void cheibriados_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 = LIGHTBLUE; - viewwindow(false); + flash_view(LIGHTBLUE); you.moveto(coord_def(0, 0)); you.duration[DUR_TIME_STEP] = pow; @@ -1358,9 +1357,9 @@ void cheibriados_time_step(int pow) // pow is the number of turns to skip delay(1000); #endif - you.flash_colour = 0; you.moveto(old_pos); you.duration[DUR_TIME_STEP] = 0; - viewwindow(false); + + flash_view(0); mpr("You return to the normal time flow."); } |