summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-26 01:32:20 +0200
committerarchshift <admin@archshift.com>2014-04-26 01:32:34 +0200
commitc124fc39d44f5a5e06a269d294736939aef22a32 (patch)
tree132e2cbfa0fba66710746ab35445b8f6042482f8 /src
parentRemoved extraneous switch{} in Start() (diff)
downloadcuberite-c124fc39d44f5a5e06a269d294736939aef22a32.tar
cuberite-c124fc39d44f5a5e06a269d294736939aef22a32.tar.gz
cuberite-c124fc39d44f5a5e06a269d294736939aef22a32.tar.bz2
cuberite-c124fc39d44f5a5e06a269d294736939aef22a32.tar.lz
cuberite-c124fc39d44f5a5e06a269d294736939aef22a32.tar.xz
cuberite-c124fc39d44f5a5e06a269d294736939aef22a32.tar.zst
cuberite-c124fc39d44f5a5e06a269d294736939aef22a32.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 6582c1c07..4a71a7e4c 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -574,12 +574,6 @@ void cWorld::Start(void)
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;
- default:
- {
- ASSERT(!"Unhandled world dimension");
- DefaultMonsters = "wither";
- break;
- }
}
m_bAnimals = IniFile.GetValueSetB("Monsters", "AnimalsOn", true);
AString AllMonsters = IniFile.GetValueSet("Monsters", "Types", DefaultMonsters);