handle non-vanilla dimensions
This commit is contained in:
parent
538991c973
commit
78f0aebaf4
|
@ -835,7 +835,6 @@ cFinishGenFluidSprings::cFinishGenFluidSprings(int a_Seed, BLOCKTYPE a_Fluid, cI
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ASSERT(!"Unhandled world dimension");
|
ASSERT(!"Unhandled world dimension");
|
||||||
DefaultChance = 0;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} // switch (dimension)
|
} // switch (dimension)
|
||||||
|
@ -971,7 +970,8 @@ cFinishGenPassiveMobs::cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, e
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
ASSERT(!"Unhandled world dimension");
|
ASSERT(!"Unhandled world dimension");
|
||||||
return;
|
DefaultChance = 0;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
} // switch (dimension)
|
} // switch (dimension)
|
||||||
m_AnimalProbability = a_IniFile.GetValueSetI(SectionName, "AnimalSpawnChunkPercentage", DefaultAnimalSpawnChunkPercentage);
|
m_AnimalProbability = a_IniFile.GetValueSetI(SectionName, "AnimalSpawnChunkPercentage", DefaultAnimalSpawnChunkPercentage);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user