summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-09-08 22:31:47 +0200
committerworktycho <work.tycho@gmail.com>2014-09-08 22:31:47 +0200
commitbd810b80a6df668cb6cb44519d8a533544163bfd (patch)
treec42a175e1d40100d387b96107ffa0b808ea87ea7 /src/World.cpp
parentFIxed a couple more warnings (diff)
downloadcuberite-bd810b80a6df668cb6cb44519d8a533544163bfd.tar
cuberite-bd810b80a6df668cb6cb44519d8a533544163bfd.tar.gz
cuberite-bd810b80a6df668cb6cb44519d8a533544163bfd.tar.bz2
cuberite-bd810b80a6df668cb6cb44519d8a533544163bfd.tar.lz
cuberite-bd810b80a6df668cb6cb44519d8a533544163bfd.tar.xz
cuberite-bd810b80a6df668cb6cb44519d8a533544163bfd.tar.zst
cuberite-bd810b80a6df668cb6cb44519d8a533544163bfd.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 1d0969dfa..b7045c7f4 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -759,7 +759,7 @@ void cWorld::InitialiseGeneratorDefaults(cIniFile & a_IniFile)
}
case dimNotSet:
{
- assert(!"Dimension not set");
+ ASSERT(!"Dimension not set");
break;
}
}
@@ -777,7 +777,7 @@ void cWorld::InitialiseAndLoadMobSpawningValues(cIniFile & a_IniFile)
case dimOverworld: DefaultMonsters = "bat, cavespider, chicken, cow, creeper, enderman, horse, mooshroom, ocelot, pig, sheep, silverfish, skeleton, slime, spider, squid, wolf, zombie"; break;
case dimNether: DefaultMonsters = "blaze, ghast, magmacube, skeleton, zombie, zombiepigman"; break;
case dimEnd: DefaultMonsters = "enderman"; break;
- case dimNotSet: assert(!"Dimension not set"); break;
+ case dimNotSet: ASSERT(!"Dimension not set"); break;
}
m_bAnimals = a_IniFile.GetValueSetB("Monsters", "AnimalsOn", true);