summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-16 17:29:52 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-16 17:29:52 -0500
commitfbd3998f59e01195208f81543ade3086b5732157 (patch)
tree872222b08679328803a7d012da3372a3e99182d2 /crawl-ref/source/spells1.cc
parent241ceb5971b5c87b58e7f28f9fee417230561a5d (diff)
downloadcrawl-ref-fbd3998f59e01195208f81543ade3086b5732157.tar.gz
crawl-ref-fbd3998f59e01195208f81543ade3086b5732157.zip
Add minor cosmetic fixes.
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc19
1 files changed, 8 insertions, 11 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index e400801e37..4d0389e9eb 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -234,15 +234,15 @@ void random_blink(bool allow_partial_control, bool override_abyss)
#endif
else
{
- // Going to assume that move_player_to_grid works, (it should
- // because terrain type etc. was already checked). could result
- // in awkward messaging if it cancels for some reason but it's
- // probably better than getting the blink message after any Mf
- // transform messages all the time -cao
+ // Going to assume that move_player_to_grid() works. (It should
+ // because terrain type, etc. was already checked.) This could
+ // result in awkward messaging if it cancels for some reason,
+ // but it's probably better than getting the blink message after
+ // any Mf transform messages all the time. -cao
mpr("You blink.");
coord_def origin = you.pos();
success = move_player_to_grid(target, false, true, true);
- if(success)
+ if (success)
{
// Leave a purple cloud.
place_cloud(CLOUD_PURP_SMOKE, origin, 1 + random2(3), KC_YOU);
@@ -1445,12 +1445,9 @@ void cast_fly(int power)
else
mpr("You fly up into the air.");
- // Merfolk boots unmeld if flight takes us out of water
- if(you.species == SP_MERFOLK && grid_is_water(grd(you.pos())))
- {
+ // Merfolk boots unmeld if flight takes us out of water.
+ if (you.species == SP_MERFOLK && grid_is_water(grd(you.pos())))
unmeld_one_equip(EQ_BOOTS);
- }
-
}
else
mpr("You feel more buoyant.");