summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dgn-proclayouts.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-04 04:19:17 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-04 14:01:15 +0100
commit874b35f8dc77d710a94c1750d31d2bf27097f9e2 (patch)
tree39b4b3c88f5b91d8f0c3751d82adf4d2bc06e906 /crawl-ref/source/dgn-proclayouts.cc
parent8f5ef8ea80c80ccec145a0327ab186904e28b482 (diff)
downloadcrawl-ref-874b35f8dc77d710a94c1750d31d2bf27097f9e2.tar.gz
crawl-ref-874b35f8dc77d710a94c1750d31d2bf27097f9e2.zip
Indentation fixes.
Diffstat (limited to 'crawl-ref/source/dgn-proclayouts.cc')
-rw-r--r--crawl-ref/source/dgn-proclayouts.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/dgn-proclayouts.cc b/crawl-ref/source/dgn-proclayouts.cc
index 587f5eee47..c42c224b4a 100644
--- a/crawl-ref/source/dgn-proclayouts.cc
+++ b/crawl-ref/source/dgn-proclayouts.cc
@@ -96,8 +96,8 @@ WorleyLayout::operator()(const coord_def &p, const uint32_t offset) const
ProceduralSample
ChaosLayout::operator()(const coord_def &p, const uint32_t offset) const
{
- uint64_t base = hash3(p.x, p.y, seed);
- uint32_t density = baseDensity + seed % 50 + (seed >> 16) % 60;
+ uint64_t base = hash3(p.x, p.y, seed);
+ uint32_t density = baseDensity + seed % 50 + (seed >> 16) % 60;
if ((base % 1000) < density)
return ProceduralSample(p, _pick_pseudorandom_wall(base/3), offset + 4096);
return ProceduralSample(p, DNGN_FLOOR, offset + 4096);