summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-19 23:35:35 +0200
committerarchshift <admin@archshift.com>2014-07-19 23:35:35 +0200
commitada88a58053e74c910982f7c3ebdfb791161c110 (patch)
tree6c149d997da76c0b2305c10bf8815b5eaab1563a /src/Mobs/Monster.cpp
parentCheckBasicStyle: Checks for braces not on separate lines. (diff)
downloadcuberite-ada88a58053e74c910982f7c3ebdfb791161c110.tar
cuberite-ada88a58053e74c910982f7c3ebdfb791161c110.tar.gz
cuberite-ada88a58053e74c910982f7c3ebdfb791161c110.tar.bz2
cuberite-ada88a58053e74c910982f7c3ebdfb791161c110.tar.lz
cuberite-ada88a58053e74c910982f7c3ebdfb791161c110.tar.xz
cuberite-ada88a58053e74c910982f7c3ebdfb791161c110.tar.zst
cuberite-ada88a58053e74c910982f7c3ebdfb791161c110.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp
index db45db5b9..753a44914 100644
--- a/src/Mobs/Monster.cpp
+++ b/src/Mobs/Monster.cpp
@@ -680,16 +680,6 @@ void cMonster::GetMonsterConfig(const AString & a_Name)
bool cMonster::IsUndead(void)
{
- switch (GetMobType())
- {
- case mtZombie:
- case mtZombiePigman:
- case mtSkeleton:
- case mtWither:
- {
- return true;
- }
- }
return false;
}