1
0

World: Report chunk count for the spawn area.

This commit is contained in:
Mattes D 2014-08-22 10:35:51 +02:00
parent 2dfcd678c4
commit d2d63b8a05

View File

@ -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++)