diff options
author | madmaxoft <github@xoft.cz> | 2014-07-30 10:06:18 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-30 10:06:18 +0200 |
commit | f095e770b84178ad45cbf3ba484b6ee18a239cb7 (patch) | |
tree | 70cbfedf25e0abc83655471a8ce44fee99b878f6 /src/World.cpp | |
parent | Fixed "Dependency" typos (diff) | |
parent | Change Group->SetColor() again. (diff) | |
download | cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.gz cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.bz2 cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.lz cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.xz cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.tar.zst cuberite-f095e770b84178ad45cbf3ba484b6ee18a239cb7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp index 84c0f2b93..348498693 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -530,6 +530,9 @@ void cWorld::Start(void) // If no configuration value is found, GetDimension() is written to file and the variable is written to again to ensure that cosmic rays haven't sneakily changed its value m_Dimension = StringToDimension(IniFile.GetValueSet("General", "Dimension", DimensionToString(GetDimension()))); + m_BroadcastDeathMessages = IniFile.GetValueSetB("Broadcasting", "BroadcastDeathMessages", true); + m_BroadcastAchievementMessages = IniFile.GetValueSetB("Broadcasting", "BroadcastAchievementMessages", true); + // Try to find the "SpawnPosition" key and coord values in the world configuration, set the flag if found int KeyNum = IniFile.FindKey("SpawnPosition"); m_IsSpawnExplicitlySet = |