summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-transloc.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-08-17 12:00:01 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-08-17 12:00:01 +0200
commit6d3677f0fb00f69c5295eb4cfd82e691c98881ce (patch)
tree27072868e57e0d0b8afeab46753643aab3009e28 /crawl-ref/source/spl-transloc.cc
parentbf0fda6beae107bd820b17ed7b5a7350231d9ff6 (diff)
downloadcrawl-ref-6d3677f0fb00f69c5295eb4cfd82e691c98881ce.tar.gz
crawl-ref-6d3677f0fb00f69c5295eb4cfd82e691c98881ce.zip
Whitespace fixes.
Diffstat (limited to 'crawl-ref/source/spl-transloc.cc')
-rw-r--r--crawl-ref/source/spl-transloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-transloc.cc b/crawl-ref/source/spl-transloc.cc
index d2ae509ef5..1577b04262 100644
--- a/crawl-ref/source/spl-transloc.cc
+++ b/crawl-ref/source/spl-transloc.cc
@@ -681,7 +681,7 @@ static bool _teleport_player(bool allow_control, bool new_abyss_area,
|| need_distance_check && (newpos - centre).abs()
<= dist_range(min(range - 1, 34))
|| testbits(env.pgrid(newpos), FPROP_NO_RTELE_INTO)));
-
+
// Running out of tries should only happen for limited-range teleports,
// which are all involuntary; no message. Return false so it doesn't
// count as a random teleport for Xom purposes.