diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-07 23:02:24 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-07 23:02:24 +0000 |
commit | dfa915b185852969f6c4d4f2abdbaa1f905bf561 (patch) | |
tree | 2ef973a57ce6fc6f03c8593a8f9c4a945ef7a48f /crawl-ref/source/directn.cc | |
parent | 3355652704f6c7948671c1e30b0c8e5b0b75290e (diff) | |
download | crawl-ref-dfa915b185852969f6c4d4f2abdbaa1f905bf561.tar.gz crawl-ref-dfa915b185852969f6c4d4f2abdbaa1f905bf561.zip |
Add whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7182 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 83fc5d769b..a68d0b985d 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -461,9 +461,9 @@ void full_describe_view() { if (!in_bounds(*ri) || !see_grid(*ri)) continue; - + const int oid = igrd(*ri); - + if (oid != NON_ITEM) { std::vector<const item_def*> items; @@ -743,7 +743,7 @@ public: // Repaint. viewwindow(true, false); } - + ~range_view_annotator() { if (!do_anything) @@ -789,7 +789,7 @@ bool _dist_ok(const dist& moves, int range, targ_mode_type mode, } if (moves.target == you.pos()) - { + { // may_target_self == makes (some) sense to target yourself // (SPFLAG_AREA) @@ -823,7 +823,7 @@ bool _dist_ok(const dist& moves, int range, targ_mode_type mode, return (false); } } - + // Some odd cases if (!moves.isValid && !moves.isCancel) return yesno("Are you sure you want to fizzle?", false, 'n'); @@ -2748,7 +2748,7 @@ std::string _mon_enchantments_string(const monsters* mon) } if (paralysed) enchant_descriptors.push_back("paralysed"); - + if (!enchant_descriptors.empty()) { return @@ -3006,7 +3006,7 @@ static void _describe_cell(const coord_def& where, bool in_range) mprf(MSGCH_EXAMINE_FILTER, "%s is out of range.", mon->pronoun(PRONOUN_CAP).c_str()); } - monster_described = true; + monster_described = true; } #if DEBUG_DIAGNOSTICS |