summaryrefslogtreecommitdiffstats
path: root/src/Generating/StructGen.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-18 03:34:47 +0200
committerarchshift <admin@archshift.com>2014-07-18 03:34:47 +0200
commit32b25ec7f799ca15fdcdc3e9e9535c798d0cc523 (patch)
tree57e9ea0bf877328afaf7506c4a499d70175c9250 /src/Generating/StructGen.cpp
parentMerge pull request #1209 from Howaner/GlobalFixes (diff)
downloadcuberite-32b25ec7f799ca15fdcdc3e9e9535c798d0cc523.tar
cuberite-32b25ec7f799ca15fdcdc3e9e9535c798d0cc523.tar.gz
cuberite-32b25ec7f799ca15fdcdc3e9e9535c798d0cc523.tar.bz2
cuberite-32b25ec7f799ca15fdcdc3e9e9535c798d0cc523.tar.lz
cuberite-32b25ec7f799ca15fdcdc3e9e9535c798d0cc523.tar.xz
cuberite-32b25ec7f799ca15fdcdc3e9e9535c798d0cc523.tar.zst
cuberite-32b25ec7f799ca15fdcdc3e9e9535c798d0cc523.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/StructGen.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Generating/StructGen.cpp b/src/Generating/StructGen.cpp
index 5deded17d..054eec345 100644
--- a/src/Generating/StructGen.cpp
+++ b/src/Generating/StructGen.cpp
@@ -484,7 +484,6 @@ void cStructGenLakes::CreateLakeImage(int a_ChunkX, int a_ChunkZ, cBlockArea & a
const int BubbleY = 4 + (Rnd & 0x01); // 4 .. 5
Rnd >>= 1;
const int BubbleZ = BubbleR + (Rnd % Range);
- Rnd >>= 4;
const int HalfR = BubbleR / 2; // 1 .. 2
const int RSquared = BubbleR * BubbleR;
for (int y = -HalfR; y <= HalfR; y++)