summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Zombie.h
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/Zombie.h
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 'src/Mobs/Zombie.h')
-rw-r--r--src/Mobs/Zombie.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Mobs/Zombie.h b/src/Mobs/Zombie.h
index c56409570..082573d8b 100644
--- a/src/Mobs/Zombie.h
+++ b/src/Mobs/Zombie.h
@@ -19,8 +19,10 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
virtual void MoveToPosition(const Vector3d & a_Position) override;
- bool IsVillagerZombie(void) const {return m_IsVillagerZombie; }
- bool IsConverting (void) const {return m_IsConverting; }
+ virtual bool IsUndead(void) override { return true; }
+
+ bool IsVillagerZombie(void) const { return m_IsVillagerZombie; }
+ bool IsConverting (void) const { return m_IsConverting; }
private: