World: Report chunk count for the spawn area.
This commit is contained in:
parent
2dfcd678c4
commit
d2d63b8a05
@ -437,7 +437,7 @@ void cWorld::InitializeSpawn(void)
|
|||||||
int ViewDist = IniFile.GetValueSetI("SpawnPosition", "PregenerateDistance", DefaultViewDist);
|
int ViewDist = IniFile.GetValueSetI("SpawnPosition", "PregenerateDistance", DefaultViewDist);
|
||||||
IniFile.WriteFile(m_IniFileName);
|
IniFile.WriteFile(m_IniFileName);
|
||||||
|
|
||||||
LOG("Preparing spawn area in world \"%s\"...", m_WorldName.c_str());
|
LOG("Preparing spawn area in world \"%s\", %d x %d chunks, total %d chunks...", m_WorldName.c_str(), ViewDist, ViewDist, ViewDist * ViewDist);
|
||||||
for (int x = 0; x < ViewDist; x++)
|
for (int x = 0; x < ViewDist; x++)
|
||||||
{
|
{
|
||||||
for (int z = 0; z < ViewDist; z++)
|
for (int z = 0; z < ViewDist; z++)
|
||||||
|
Loading…
Reference in New Issue
Block a user