summaryrefslogtreecommitdiffstats
path: root/src/Mobs/ZombiePigman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/ZombiePigman.h')
-rw-r--r--src/Mobs/ZombiePigman.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Mobs/ZombiePigman.h b/src/Mobs/ZombiePigman.h
index ab3cebf6d..a4bad7efb 100644
--- a/src/Mobs/ZombiePigman.h
+++ b/src/Mobs/ZombiePigman.h
@@ -17,7 +17,9 @@ public:
CLASS_PROTODEF(cZombiePigman);
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
- virtual void KilledBy(cEntity * a_Killer) override;
+ virtual void KilledBy(TakeDamageInfo & a_TDI) override;
+
+ virtual bool IsUndead(void) override { return true; }
} ;