diff options
author | madmaxoft <github@xoft.cz> | 2014-03-25 23:35:50 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-25 23:35:50 +0100 |
commit | 9032ff96c7c6db4264eedda95de7ea55f155bc47 (patch) | |
tree | d5b2984e845894a82c948bbd0ccae3dc33157a53 | |
parent | Added a basic cPrefab class. (diff) | |
download | cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.gz cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.bz2 cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.lz cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.xz cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.tar.zst cuberite-9032ff96c7c6db4264eedda95de7ea55f155bc47.zip |
-rw-r--r-- | src/DeadlockDetect.cpp | 5 | ||||
-rw-r--r-- | src/World.cpp | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/DeadlockDetect.cpp b/src/DeadlockDetect.cpp index 4dc7bfde6..322084dc4 100644 --- a/src/DeadlockDetect.cpp +++ b/src/DeadlockDetect.cpp @@ -7,7 +7,7 @@ #include "DeadlockDetect.h" #include "Root.h" #include "World.h" -# include <cstdlib> +#include <cstdlib> @@ -16,9 +16,6 @@ /// Number of milliseconds per cycle const int CYCLE_MILLISECONDS = 100; -/// When the number of cycles for the same world age hits this value, it is considered a deadlock -const int NUM_CYCLES_LIMIT = 200; // 200 = twenty seconds - diff --git a/src/World.cpp b/src/World.cpp index 3f157157a..e39a605bb 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -60,9 +60,6 @@ -/// Up to this many m_SpreadQueue elements are handled each world tick -const int MAX_LIGHTING_SPREAD_PER_TICK = 10; - const int TIME_SUNSET = 12000; const int TIME_NIGHT_START = 13187; const int TIME_NIGHT_END = 22812; |