From 37276a4430e26f5b3ab56e07d5f30a194f75982e Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 1 Jul 2013 10:39:56 +0000 Subject: Rewritten entity-on-fire management ("forever on fire" bugs) Fixes FS #297 and part of FS #403. Added sizes to all entities. Moved all damage-related functions from cPawn to cEntity API change: renamed cPawn:TeleportTo() to cEntity:TeleportToCoords() git-svn-id: http://mc-server.googlecode.com/svn/trunk@1635 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Mobs/Enderman.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/Mobs/Enderman.cpp') diff --git a/source/Mobs/Enderman.cpp b/source/Mobs/Enderman.cpp index 356815be0..1dc47876f 100644 --- a/source/Mobs/Enderman.cpp +++ b/source/Mobs/Enderman.cpp @@ -8,7 +8,8 @@ cEnderman::cEnderman(void) : - super("Enderman", 58, "mob.endermen.hit", "mob.endermen.death") + // TODO: The size is only a guesstimate, measure in vanilla and fix the size values here + super("Enderman", 58, "mob.endermen.hit", "mob.endermen.death", 0.5, 2.5) { } @@ -16,7 +17,7 @@ cEnderman::cEnderman(void) : -void cEnderman::GetDrops(cItems & a_Drops, cPawn * a_Killer) +void cEnderman::GetDrops(cItems & a_Drops, cEntity * a_Killer) { AddRandomDropItem(a_Drops, 0, 1, E_ITEM_ENDER_PEARL); } -- cgit v1.2.3