diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-08 00:44:14 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-08 00:44:14 +0000 |
commit | d419d7dc79e02aafe700dcccba8638975a4cd2e7 (patch) | |
tree | aea1a8b5dbf670bbd6c67dd031c88b8562c2b695 /crawl-ref/source/decks.cc | |
parent | dbab0ee932f675095c1bbd6a72911ded79eddf69 (diff) | |
download | crawl-ref-d419d7dc79e02aafe700dcccba8638975a4cd2e7.tar.gz crawl-ref-d419d7dc79e02aafe700dcccba8638975a4cd2e7.zip |
Add yet more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8967 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r-- | crawl-ref/source/decks.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index 0cb04851f9..b338bb7fcc 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -1740,7 +1740,7 @@ static int _drain_monsters(coord_def where, int pow, int, actor *) { const int mnstr = mgrd(where); if (mnstr == NON_MONSTER) - return 0; + return (0); monsters& mon = menv[mnstr]; @@ -1748,7 +1748,7 @@ static int _drain_monsters(coord_def where, int pow, int, actor *) simple_monster_message(&mon, " is unaffected."); else { - simple_monster_message(&mon, " is drained."); + simple_monster_message(&mon, " is drained!"); if (x_chance_in_y(pow / 60, 20)) { @@ -1760,7 +1760,8 @@ static int _drain_monsters(coord_def where, int pow, int, actor *) mon.hurt(&you, 2 + random2(50), BEAM_NEG); } } - return 1; + + return (1); } static void _mass_drain(int pow) |