diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-12-04 04:53:55 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-12-05 16:23:46 +0100 |
commit | 3cfba31e6efa38025156ee5a3a0ea006c85b5b6b (patch) | |
tree | 1a26f470e0ffac5ed8135c18886051d2f9b1632e /crawl-ref/source/shout.cc | |
parent | 9d7c2e8983cbe3e913a26016327e49e9bd189ca3 (diff) | |
download | crawl-ref-3cfba31e6efa38025156ee5a3a0ea006c85b5b6b.tar.gz crawl-ref-3cfba31e6efa38025156ee5a3a0ea006c85b5b6b.zip |
Indentation fixes.
Diffstat (limited to 'crawl-ref/source/shout.cc')
-rw-r--r-- | crawl-ref/source/shout.cc | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/crawl-ref/source/shout.cc b/crawl-ref/source/shout.cc index dd9a04edf0..46fbdb29d2 100644 --- a/crawl-ref/source/shout.cc +++ b/crawl-ref/source/shout.cc @@ -568,30 +568,30 @@ void check_player_sense(sense_type sense, int range, const coord_def& where) switch (sense) { case SENSE_SMELL_BLOOD: - dprf("Player smells blood, pos: (%d, %d), dist = %d)", - you.pos().x, you.pos().y, player_distance); - you.check_awaken(range - player_distance); - // Don't message if you can see the square. - if (!you.see_cell(where)) - { - mprf("You smell fresh blood%s.", - _player_vampire_smells_blood(player_distance)); - } - break; + dprf("Player smells blood, pos: (%d, %d), dist = %d)", + you.pos().x, you.pos().y, player_distance); + you.check_awaken(range - player_distance); + // Don't message if you can see the square. + if (!you.see_cell(where)) + { + mprf("You smell fresh blood%s.", + _player_vampire_smells_blood(player_distance)); + } + break; case SENSE_WEB_VIBRATION: - // Spider form - if (you.can_cling_to_walls()) - { - you.check_awaken(range - player_distance); - // Don't message if you can see the square. - if (!you.see_cell(where)) - { - mprf("You hear a 'twang'%s.", - _player_spider_senses_web(player_distance)); - } - } - break; + // Spider form + if (you.can_cling_to_walls()) + { + you.check_awaken(range - player_distance); + // Don't message if you can see the square. + if (!you.see_cell(where)) + { + mprf("You hear a 'twang'%s.", + _player_spider_senses_web(player_distance)); + } + } + break; } } } |