summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-04 19:48:42 +0100
committermadmaxoft <github@xoft.cz>2013-12-04 19:48:42 +0100
commite48168aa136f0243dca2d059d9e8039558a93c2d (patch)
tree2d210a6f6d0e7a41c59bd3732e4578a517f0f29d /src/World.h
parentFixed an error in cChunk's block ticking. (diff)
downloadcuberite-e48168aa136f0243dca2d059d9e8039558a93c2d.tar
cuberite-e48168aa136f0243dca2d059d9e8039558a93c2d.tar.gz
cuberite-e48168aa136f0243dca2d059d9e8039558a93c2d.tar.bz2
cuberite-e48168aa136f0243dca2d059d9e8039558a93c2d.tar.lz
cuberite-e48168aa136f0243dca2d059d9e8039558a93c2d.tar.xz
cuberite-e48168aa136f0243dca2d059d9e8039558a93c2d.tar.zst
cuberite-e48168aa136f0243dca2d059d9e8039558a93c2d.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index a6b61f2e2..ea0db53e6 100644
--- a/src/World.h
+++ b/src/World.h
@@ -129,6 +129,8 @@ public:
bool IsPVPEnabled(void) const { return m_bEnabledPVP; }
bool IsDeepSnowEnabled(void) const { return m_IsDeepSnowEnabled; }
+ bool ShouldLavaSpawnFire(void) const { return m_ShouldLavaSpawnFire; }
+
eDimension GetDimension(void) const { return m_Dimension; }
/// Returns the world height at the specified coords; waits for the chunk to get loaded / generated
@@ -654,6 +656,7 @@ private:
eGameMode m_GameMode;
bool m_bEnabledPVP;
bool m_IsDeepSnowEnabled;
+ bool m_ShouldLavaSpawnFire;
// The cRedstone class simulates redstone and needs access to m_RSList
// friend class cRedstone;