summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);