summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2014-10-21 15:17:04 +0200
committerAlexander Harkness <me@bearbin.net>2014-10-21 15:17:04 +0200
commit8ddc40e44baa382f3601537418a96b06a84ffe6d (patch)
tree74045f814da67a920f21681358191725f1d96ec6 /src/World.cpp
parentCompile fix? (diff)
downloadcuberite-8ddc40e44baa382f3601537418a96b06a84ffe6d.tar
cuberite-8ddc40e44baa382f3601537418a96b06a84ffe6d.tar.gz
cuberite-8ddc40e44baa382f3601537418a96b06a84ffe6d.tar.bz2
cuberite-8ddc40e44baa382f3601537418a96b06a84ffe6d.tar.lz
cuberite-8ddc40e44baa382f3601537418a96b06a84ffe6d.tar.xz
cuberite-8ddc40e44baa382f3601537418a96b06a84ffe6d.tar.zst
cuberite-8ddc40e44baa382f3601537418a96b06a84ffe6d.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index c6168b572..65f607ee0 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -212,7 +212,7 @@ void cWorld::cTickThread::Execute(void)
if (TickTime < msPerTick)
{
// Stretch tick time until it's at least msPerTick
- std::this_thread::sleep_for(msPerTick -TickTime);
+ std::this_thread::sleep_for(msPerTick - TickTime);
}
LastTime = NowTime;