diff options
author | madmaxoft <github@xoft.cz> | 2013-11-30 22:14:47 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-30 22:14:47 +0100 |
commit | bf30528ec4ed53d4c6aef2da0410a04124bbc492 (patch) | |
tree | d369ea10c1173cd9a77f740ee07ea869ad6c7e62 /src/DeadlockDetect.h | |
parent | Fixed compiler warnings in IsBiomeNoDownfall(). (diff) | |
download | cuberite-bf30528ec4ed53d4c6aef2da0410a04124bbc492.tar cuberite-bf30528ec4ed53d4c6aef2da0410a04124bbc492.tar.gz cuberite-bf30528ec4ed53d4c6aef2da0410a04124bbc492.tar.bz2 cuberite-bf30528ec4ed53d4c6aef2da0410a04124bbc492.tar.lz cuberite-bf30528ec4ed53d4c6aef2da0410a04124bbc492.tar.xz cuberite-bf30528ec4ed53d4c6aef2da0410a04124bbc492.tar.zst cuberite-bf30528ec4ed53d4c6aef2da0410a04124bbc492.zip |
Diffstat (limited to '')
-rw-r--r-- | src/DeadlockDetect.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DeadlockDetect.h b/src/DeadlockDetect.h index 2559c3fff..cb2309169 100644 --- a/src/DeadlockDetect.h +++ b/src/DeadlockDetect.h @@ -29,7 +29,7 @@ public: cDeadlockDetect(void); /// Starts the detection. Hides cIsThread's Start, because we need some initialization - bool Start(void); + bool Start(int a_IntervalSec); protected: struct sWorldAge @@ -46,6 +46,9 @@ protected: WorldAges m_WorldAges; + /// Number of secods for which the ages must be the same for the detection to trigger + int m_IntervalSec; + // cIsThread overrides: virtual void Execute(void) override; |