diff options
author | Lukas Pioch <lukas@zgow.de> | 2016-03-18 18:53:17 +0100 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2016-03-18 20:20:30 +0100 |
commit | 5fa9c47f775156bb86f8988cfe443df0ea059986 (patch) | |
tree | 67a05a795dd49f799e3185f319bb87bda3cf4c3d | |
parent | Fixed leaping potion not giving jump boost (diff) | |
download | cuberite-5fa9c47f775156bb86f8988cfe443df0ea059986.tar cuberite-5fa9c47f775156bb86f8988cfe443df0ea059986.tar.gz cuberite-5fa9c47f775156bb86f8988cfe443df0ea059986.tar.bz2 cuberite-5fa9c47f775156bb86f8988cfe443df0ea059986.tar.lz cuberite-5fa9c47f775156bb86f8988cfe443df0ea059986.tar.xz cuberite-5fa9c47f775156bb86f8988cfe443df0ea059986.tar.zst cuberite-5fa9c47f775156bb86f8988cfe443df0ea059986.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Generating/BioGen.cpp | 2 | ||||
-rw-r--r-- | src/Generating/Noise3DGenerator.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp index 4c58e8547..12605496b 100644 --- a/src/Generating/BioGen.cpp +++ b/src/Generating/BioGen.cpp @@ -917,7 +917,7 @@ void cBioGenTwoLevel::InitializeBiomeGen(cIniFile & a_IniFile) m_AmpX1 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortXOctave1Amp", 80)); m_FreqX2 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortXOctave2Freq", 0.05)); m_AmpX2 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortXOctave2Amp", 20)); - m_FreqX3 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortXOctave3Freq", 0.1)), + m_FreqX3 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortXOctave3Freq", 0.1)); m_AmpX3 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortXOctave3Amp", 8)); m_FreqZ1 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortZOctave1Freq", 0.01)); m_AmpZ1 = static_cast<float>(a_IniFile.GetValueSetF("Generator", "TwoLevelDistortZOctave1Amp", 80)); diff --git a/src/Generating/Noise3DGenerator.cpp b/src/Generating/Noise3DGenerator.cpp index f03957412..54b65722f 100644 --- a/src/Generating/Noise3DGenerator.cpp +++ b/src/Generating/Noise3DGenerator.cpp @@ -430,7 +430,7 @@ void cNoise3DComposable::Initialize(cIniFile & a_IniFile) } // Add octaves for the density noises: - wavlen = 1, ampl = 1; + wavlen = 1; ampl = 1; for (int i = 0; i < NumDensityOctaves; i++) { m_DensityNoiseA.AddOctave(wavlen, ampl); @@ -440,7 +440,7 @@ void cNoise3DComposable::Initialize(cIniFile & a_IniFile) } // Add octaves for the base noise: - wavlen = 1, ampl = BaseNoiseAmplitude; + wavlen = 1; ampl = BaseNoiseAmplitude; for (int i = 0; i < NumBaseOctaves; i++) { m_BaseNoise.AddOctave(wavlen, ampl); @@ -590,7 +590,7 @@ void cBiomalNoise3DComposable::Initialize(cIniFile & a_IniFile) } // Add octaves for the density noises: - wavlen = 1, ampl = 1; + wavlen = 1; ampl = 1; for (int i = 0; i < NumDensityOctaves; i++) { m_DensityNoiseA.AddOctave(wavlen, ampl); @@ -600,7 +600,7 @@ void cBiomalNoise3DComposable::Initialize(cIniFile & a_IniFile) } // Add octaves for the base noise: - wavlen = 1, ampl = BaseNoiseAmplitude; + wavlen = 1; ampl = BaseNoiseAmplitude; for (int i = 0; i < NumBaseOctaves; i++) { m_BaseNoise.AddOctave(wavlen, ampl); |