summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-11 00:08:42 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-11 00:08:42 +0000
commit93f76b2e4274439e9eb5b86302de6c0fc7c350e7 (patch)
treee0ef06f04b8fa363e04e779509ea2bf668234a87 /crawl-ref/source/beam.cc
parent38732982cd2a7f66fe799e6aa5dd831cce854f09 (diff)
downloadcrawl-ref-93f76b2e4274439e9eb5b86302de6c0fc7c350e7.tar.gz
crawl-ref-93f76b2e4274439e9eb5b86302de6c0fc7c350e7.zip
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
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc13
1 files changed, 7 insertions, 6 deletions
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();