summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-22 20:49:33 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-22 20:49:33 +0200
commita8ff9f511f13daadc885e7fedd6c8a8c80702825 (patch)
tree09a3269f8a2eba538b109d22220d236f610b9843 /source
parentNoise: made interpolation methods public static, so that they can be used by the outside world as well (diff)
downloadcuberite-a8ff9f511f13daadc885e7fedd6c8a8c80702825.tar
cuberite-a8ff9f511f13daadc885e7fedd6c8a8c80702825.tar.gz
cuberite-a8ff9f511f13daadc885e7fedd6c8a8c80702825.tar.bz2
cuberite-a8ff9f511f13daadc885e7fedd6c8a8c80702825.tar.lz
cuberite-a8ff9f511f13daadc885e7fedd6c8a8c80702825.tar.xz
cuberite-a8ff9f511f13daadc885e7fedd6c8a8c80702825.tar.zst
cuberite-a8ff9f511f13daadc885e7fedd6c8a8c80702825.zip
Diffstat (limited to 'source')
-rw-r--r--source/Ravines.cpp1
-rw-r--r--source/Ravines.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/source/Ravines.cpp b/source/Ravines.cpp
index ca34bbc5b..726f3ffb4 100644
--- a/source/Ravines.cpp
+++ b/source/Ravines.cpp
@@ -85,7 +85,6 @@ public:
cStructGenRavines::cStructGenRavines(int a_Seed, int a_Size) :
m_Noise(a_Seed),
- m_Seed(a_Seed),
m_Size(a_Size)
{
}
diff --git a/source/Ravines.h b/source/Ravines.h
index 7d6e351db..2f32e3edc 100644
--- a/source/Ravines.h
+++ b/source/Ravines.h
@@ -28,7 +28,6 @@ protected:
typedef std::list<cRavine *> cRavines;
cNoise m_Noise;
- int m_Seed;
int m_Size; // Max size, in blocks, of the ravines generated
cRavines m_Cache;