diff options
author | archshift <admin@archshift.com> | 2014-07-19 23:35:35 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-07-19 23:35:35 +0200 |
commit | ada88a58053e74c910982f7c3ebdfb791161c110 (patch) | |
tree | 6c149d997da76c0b2305c10bf8815b5eaab1563a /src/Mobs/Monster.cpp | |
parent | CheckBasicStyle: Checks for braces not on separate lines. (diff) | |
download | cuberite-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 'src/Mobs/Monster.cpp')
-rw-r--r-- | src/Mobs/Monster.cpp | 10 |
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; } |