From 5e887cdbaca92e5706d363c22fafbe10c0de669b Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 24 Jul 2007 09:02:38 +0000 Subject: [1749272] Fixed view update issues: - Redraw view when entering a new level before allowing monsters on the level to act. - Monsters are redrawn on the view as and when they move, instead of postponing the view update to the end of turn. - Beam animations and monster redraws force a view update if the view is stale (such as when a beam is shown during travel and travel_delay = -1). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1925 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index fbd4c8407f..3b2975a0fb 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -170,14 +170,11 @@ void zap_animation( int colour, const monsters *mon, bool force ) if (in_los_bounds(drawx, drawy)) { + view_update(); textcolor( colour ); gotoxy( drawx, drawy ); putch( SYM_ZAP ); - -#ifdef UNIX update_screen(); -#endif - delay(50); } } -- cgit v1.2.3-54-g00ecf