From 93f76b2e4274439e9eb5b86302de6c0fc7c350e7 Mon Sep 17 00:00:00 2001 From: dolorous Date: Wed, 11 Jun 2008 00:08:42 +0000 Subject: Add a few more cosmetic fixes. Regarding fire vortices: after some thought, I'm not marking them as god gifts, as they're created by the clouds created by Fire Storm, as opposed to Fire Storm itself, which makes it an indirect result. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5720 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 6660690c8e..fdbbc18ad8 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -161,14 +161,15 @@ static kill_category _whose_kill(const bolt &beam) return (KC_OTHER); } -// simple animated flash from Rupert Smith (and expanded to be more generic): -void zap_animation( int colour, const monsters *mon, bool force ) +// A simple animated flash from Rupert Smith (expanded to be more +// generic). +void zap_animation(int colour, const monsters *mon, bool force) { int x = you.x_pos, y = you.y_pos; - // default to whatever colour magic is today + // Default to whatever colour magic is today. if (colour == -1) - colour = element_colour( EC_MAGIC ); + colour = element_colour(EC_MAGIC); if (mon) { @@ -191,8 +192,8 @@ void zap_animation( int colour, const monsters *mon, bool force ) TileDrawBolt(drawx-1, drawy-1, tileidx_zap(colour)); #else view_update(); - cgotoxy( drawx, drawy , GOTO_DNGN ); - put_colour_ch( colour, dchar_glyph( DCHAR_FIRED_ZAP ) ); + cgotoxy(drawx, drawy, GOTO_DNGN); + put_colour_ch(colour, dchar_glyph(DCHAR_FIRED_ZAP)); #endif update_screen(); -- cgit v1.2.3-54-g00ecf