formatting and commenting fixes
This commit is contained in:
parent
cb584a87bd
commit
3bf111c69e
@ -392,11 +392,11 @@ void cFinishGenSprinkleFoliage::GenFinish(cChunkDesc & a_ChunkDesc)
|
||||
|
||||
|
||||
|
||||
bool cFinishGenSprinkleFoliage::IsDesertVariant(EMCSBiome a_biome)
|
||||
bool cFinishGenSprinkleFoliage::IsDesertVariant(EMCSBiome a_Biome)
|
||||
{
|
||||
return a_biome == biDesertHills ||
|
||||
a_biome == biDesert ||
|
||||
a_biome == biDesertM;
|
||||
return (a_Biome == biDesertHills) ||
|
||||
(a_Biome == biDesert ) ||
|
||||
(a_Biome == biDesertM );
|
||||
}
|
||||
|
||||
|
||||
|
@ -149,8 +149,8 @@ protected:
|
||||
/// Tries to place sugarcane at the coords specified, returns true if successful
|
||||
bool TryAddSugarcane(cChunkDesc & a_ChunkDesc, int a_RelX, int a_RelY, int a_RelZ);
|
||||
|
||||
// Checks if biome is a desert to spawn cacti as opposed to just sand
|
||||
bool IsDesertVariant(EMCSBiome a_biome);
|
||||
// Returns true is the specified biome is a desert or its variant
|
||||
static bool IsDesertVariant(EMCSBiome a_biome);
|
||||
|
||||
// cFinishGen override:
|
||||
virtual void GenFinish(cChunkDesc & a_ChunkDesc) override;
|
||||
|
Loading…
Reference in New Issue
Block a user