summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-proclayouts.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-21 04:41:45 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-21 10:22:15 +0100
commita7b66b498e0ba43781a1a9e6a2977fa223529dab (patch)
treecbbd178ae82be5c365ef5ebe257c573abd0fedd0 /crawl-ref/source/dgn-proclayouts.cc
parentf62db547df00da8dc36f9161e127692292583b54 (diff)
downloadcrawl-ref-a7b66b498e0ba43781a1a9e6a2977fa223529dab.tar.gz
crawl-ref-a7b66b498e0ba43781a1a9e6a2977fa223529dab.zip
Drop pointless empty lines after or before a brace.
I left them only where the contents is not indented, like in a namespace or a template.
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r--crawl-ref/source/dgn-proclayouts.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc
index 4e9a5933a0..c8cf8cd83d 100644
--- a/crawl-ref/source/dgn-proclayouts.cc
+++ b/crawl-ref/source/dgn-proclayouts.cc
@@ -51,7 +51,6 @@ ColumnLayout::operator()(const coord_def &p, const uint32_t offset) const
ProceduralSample
DiamondLayout::operator()(const coord_def &p, const uint32_t offset) const
{
-
uint8_t halfCell = w + s;
uint8_t cellSize = halfCell * 2;
uint8_t x = abs(abs(p.x) % cellSize - halfCell);
@@ -352,7 +351,6 @@ CityLayout::operator()(const coord_def &p, const uint32_t offset) const
if (dist == size)
return ProceduralSample(p, DNGN_ROCK_WALL, offset + 4096);
return ProceduralSample(p, DNGN_FLOOR, offset + 4096);
-
}
ProceduralSample