diff options
author | Brendan Hickey <brendan@bhickey.net> | 2012-09-20 23:14:51 -0700 |
---|---|---|
committer | Brendan Hickey <brendan@bhickey.net> | 2012-12-30 19:06:14 -0800 |
commit | 43754da300b02433c8f78f459daf43212ad9fe44 (patch) | |
tree | a203228aefbf053605a6c9292dcabad4dd9ef205 /crawl-ref/source/worley.cc | |
parent | 96d469f78dc30e6d21c65c36b021e161a346deda (diff) | |
download | crawl-ref-43754da300b02433c8f78f459daf43212ad9fe44.tar.gz crawl-ref-43754da300b02433c8f78f459daf43212ad9fe44.zip |
Abyss layout changes
Futzing around quite a bit with the abyss layout.
Diffstat (limited to 'crawl-ref/source/worley.cc')
-rw-r--r-- | crawl-ref/source/worley.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/worley.cc b/crawl-ref/source/worley.cc index ce5a14b076..51d81401f1 100644 --- a/crawl-ref/source/worley.cc +++ b/crawl-ref/source/worley.cc @@ -243,7 +243,7 @@ large deltas in your distance function, so our 3D search can find them! [Alternatively, change the search algorithm for your special cases.] */ - d2=fabs(dx)+fabs(dy)+fabs(dz); + d2=dx*dx+dy*dy+dz*dz; /* Euclidian distance, squared */ if (d2<F[max_order-1]) /* Is this point close enough to rememember? */ { |