fix comments after replacing spaces with tabs
This commit is contained in:
parent
2d93274a90
commit
978c9967ad
@ -962,7 +962,7 @@ cFinishGenPassiveMobs::cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, e
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case dimNether:
|
case dimNether:
|
||||||
case dimEnd:// No nether or end animals (currently)
|
case dimEnd: // No nether or end animals (currently)
|
||||||
{
|
{
|
||||||
DefaultAnimalSpawnChunkPercentage = DEF_NO_ANIMALS;
|
DefaultAnimalSpawnChunkPercentage = DEF_NO_ANIMALS;
|
||||||
break;
|
break;
|
||||||
@ -972,7 +972,7 @@ cFinishGenPassiveMobs::cFinishGenPassiveMobs(int a_Seed, cIniFile & a_IniFile, e
|
|||||||
ASSERT(!"Unhandled world dimension");
|
ASSERT(!"Unhandled world dimension");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}// switch (dimension)
|
} // switch (dimension)
|
||||||
m_AnimalProbability = a_IniFile.GetValueSetI(SectionName, "AnimalSpawnChunkPercentage", DefaultAnimalSpawnChunkPercentage);
|
m_AnimalProbability = a_IniFile.GetValueSetI(SectionName, "AnimalSpawnChunkPercentage", DefaultAnimalSpawnChunkPercentage);
|
||||||
if (m_AnimalProbability < 0 || m_AnimalProbability > 100)
|
if (m_AnimalProbability < 0 || m_AnimalProbability > 100)
|
||||||
{
|
{
|
||||||
@ -1015,8 +1015,8 @@ void cFinishGenPassiveMobs::GenFinish(cChunkDesc & a_ChunkDesc)
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}// if pack center spawn successful
|
} // if pack center spawn successful
|
||||||
}// for tries
|
} // for tries
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user