summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-02 21:10:31 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-02 21:10:31 +0100
commitd9a9052de733d88e49a2df9f455632c64f2c5b5d (patch)
tree1bf9c5a67322e34a5ff32f4586010d453a1f1c4c /src/World.cpp
parentRevert "Improved code" (diff)
downloadcuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar
cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.gz
cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.bz2
cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.lz
cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.xz
cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.tar.zst
cuberite-d9a9052de733d88e49a2df9f455632c64f2c5b5d.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 5cd3e1478..f598874ea 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -100,13 +100,13 @@ protected:
{
for (;;)
{
- LOGREPLACELINE("%d chunks to load, %d chunks to generate",
+ LOG("%d chunks to load, %d chunks to generate",
m_World->GetStorage().GetLoadQueueLength(),
m_World->GetGenerator().GetQueueLength()
);
- // Wait for 0.5 sec, but be "reasonably wakeable" when the thread is to finish
- for (int i = 0; i < 5; i++)
+ // Wait for 2 sec, but be "reasonably wakeable" when the thread is to finish
+ for (int i = 0; i < 20; i++)
{
cSleep::MilliSleep(100);
if (m_ShouldTerminate)
@@ -152,10 +152,10 @@ protected:
{
for (;;)
{
- LOGREPLACELINE("%d chunks remaining to light", m_Lighting->GetQueueLength()
+ LOG("%d chunks remaining to light", m_Lighting->GetQueueLength()
);
- // Wait for 0.5 sec, but be "reasonably wakeable" when the thread is to finish
+ // Wait for 2 sec, but be "reasonably wakeable" when the thread is to finish
for (int i = 0; i < 20; i++)
{
cSleep::MilliSleep(100);