summaryrefslogtreecommitdiffstats
path: root/source/cWorld.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-09 18:23:01 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-09 18:23:01 +0200
commita23e4f3177cde0e2f96958a622596ea186c67803 (patch)
treef5cee61a4da251812a9785922192b0c8467ef3ad /source/cWorld.cpp
parentRemoved an unneeded include (diff)
downloadcuberite-a23e4f3177cde0e2f96958a622596ea186c67803.tar
cuberite-a23e4f3177cde0e2f96958a622596ea186c67803.tar.gz
cuberite-a23e4f3177cde0e2f96958a622596ea186c67803.tar.bz2
cuberite-a23e4f3177cde0e2f96958a622596ea186c67803.tar.lz
cuberite-a23e4f3177cde0e2f96958a622596ea186c67803.tar.xz
cuberite-a23e4f3177cde0e2f96958a622596ea186c67803.tar.zst
cuberite-a23e4f3177cde0e2f96958a622596ea186c67803.zip
Diffstat (limited to 'source/cWorld.cpp')
-rw-r--r--source/cWorld.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp
index 7e24f2e4f..225660d7b 100644
--- a/source/cWorld.cpp
+++ b/source/cWorld.cpp
@@ -243,6 +243,7 @@ cWorld::cWorld( const AString & a_WorldName )
AString StorageSchema("Default");
cIniFile IniFile(m_IniFileName);
+ IniFile.ReadFile();
m_SpawnX = IniFile.GetValueSetF("SpawnPosition", "X", m_SpawnX);
m_SpawnY = IniFile.GetValueSetF("SpawnPosition", "Y", m_SpawnY);
m_SpawnZ = IniFile.GetValueSetF("SpawnPosition", "Z", m_SpawnZ);