summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-29 00:07:50 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-29 00:07:50 +0100
commit6eacf1aa922b9dd2193a835e6a45ddf71fbbb729 (patch)
tree236a04d18101f859f131942d9f8fbf1cd8d655d4 /src
parentFixed non-virtual destructors warnings. (diff)
downloadcuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar
cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.gz
cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.bz2
cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.lz
cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.xz
cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.tar.zst
cuberite-6eacf1aa922b9dd2193a835e6a45ddf71fbbb729.zip
Diffstat (limited to '')
-rw-r--r--src/Root.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 3555afb45..ba4398b35 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -304,6 +304,7 @@ void cRoot::LoadWorlds(cIniFile & IniFile)
{
if (IniFile.GetKeyComment("Worlds", 0) != " World=secondworld")
{
+ IniFile.DeleteKeyComment("Worlds", 0);
IniFile.AddKeyComment("Worlds", " World=secondworld");
}
}