summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-19 07:35:53 +0100
committerMattes D <github@xoft.cz>2016-03-19 07:35:53 +0100
commit8fc9cfa41101b6b99cbf1dda21be1a22980aab0f (patch)
tree67a05a795dd49f799e3185f319bb87bda3cf4c3d
parentFixed leaping potion not giving jump boost (diff)
parentFixed misuse of comma. (diff)
downloadcuberite-8fc9cfa41101b6b99cbf1dda21be1a22980aab0f.tar
cuberite-8fc9cfa41101b6b99cbf1dda21be1a22980aab0f.tar.gz
cuberite-8fc9cfa41101b6b99cbf1dda21be1a22980aab0f.tar.bz2
cuberite-8fc9cfa41101b6b99cbf1dda21be1a22980aab0f.tar.lz
cuberite-8fc9cfa41101b6b99cbf1dda21be1a22980aab0f.tar.xz
cuberite-8fc9cfa41101b6b99cbf1dda21be1a22980aab0f.tar.zst
cuberite-8fc9cfa41101b6b99cbf1dda21be1a22980aab0f.zip
Diffstat (limited to '')
-rw-r--r--src/Generating/BioGen.cpp2
-rw-r--r--src/Generating/Noise3DGenerator.cpp8
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);