summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-06-13 14:57:51 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2015-06-28 17:05:44 +0200
commite5cfe0cd96a67b493b91e7576ec0341452c23855 (patch)
tree458160137feb67c73766b1249bc8d686c2c29e3a /src/World.cpp
parentuse atomic for state, to avoid torn reads (diff)
downloadcuberite-e5cfe0cd96a67b493b91e7576ec0341452c23855.tar
cuberite-e5cfe0cd96a67b493b91e7576ec0341452c23855.tar.gz
cuberite-e5cfe0cd96a67b493b91e7576ec0341452c23855.tar.bz2
cuberite-e5cfe0cd96a67b493b91e7576ec0341452c23855.tar.lz
cuberite-e5cfe0cd96a67b493b91e7576ec0341452c23855.tar.xz
cuberite-e5cfe0cd96a67b493b91e7576ec0341452c23855.tar.zst
cuberite-e5cfe0cd96a67b493b91e7576ec0341452c23855.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index f4fd696ee..71f4aeae3 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -464,6 +464,10 @@ void cWorld::Start(void)
m_bCommandBlocksEnabled = IniFile.GetValueSetB("Mechanics", "CommandBlocksEnabled", false);
m_bEnabledPVP = IniFile.GetValueSetB("Mechanics", "PVPEnabled", true);
m_bUseChatPrefixes = IniFile.GetValueSetB("Mechanics", "UseChatPrefixes", true);
+ m_MinNetherPortalWidth = IniFile.GetValueSetI("Mechanics", "MinNetherPortalWidth", 2);
+ m_MaxNetherPortalWidth = IniFile.GetValueSetI("Mechanics", "MaxNetherPortalWidth", 21);
+ m_MinNetherPortalHeight = IniFile.GetValueSetI("Mechanics", "MinNetherPortalHeight", 3);
+ m_MaxNetherPortalHeight = IniFile.GetValueSetI("Mechanics", "MaxNetherPortalHeight", 21);
m_VillagersShouldHarvestCrops = IniFile.GetValueSetB("Monsters", "VillagersShouldHarvestCrops", true);
m_IsDaylightCycleEnabled = IniFile.GetValueSetB("General", "IsDaylightCycleEnabled", true);
int GameMode = IniFile.GetValueSetI("General", "Gamemode", (int)m_GameMode);