aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Zombie.h
diff options
context:
space:
mode:
authorFriedMonkey <120042050+Friedmonkey@users.noreply.github.com>2026-03-07 01:45:22 +0100
committerGitHub <noreply@github.com>2026-03-06 18:45:22 -0600
commita6699a2e6f98c486a63c59c164ea2ee797c44d29 (patch)
tree2887732f4fa1eaed4c9013d5fdc92fe10e91b17a /Minecraft.World/Zombie.h
parent2f614a52c2afea79733379ce1a7595f5188a9158 (diff)
Fixed baby zombie hitbox size (#765)
* Added scaling to zombie i added scaling to zombie based on if its a baby or not just setting the size does not work you have to set it in the tick (look at the tick for slimes which is a scalable monster) * add output dir to gitignore the build output folder is now added to the git ignore --------- Co-authored-by: Loki <lokirautio@gmail.com>
Diffstat (limited to 'Minecraft.World/Zombie.h')
-rw-r--r--Minecraft.World/Zombie.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Minecraft.World/Zombie.h b/Minecraft.World/Zombie.h
index d79df182..f788ea63 100644
--- a/Minecraft.World/Zombie.h
+++ b/Minecraft.World/Zombie.h
@@ -60,6 +60,7 @@ public:
virtual bool hurt(DamageSource *source, float dmg);
virtual void tick();
virtual bool doHurtTarget(shared_ptr<Entity> target);
+ virtual void updateSize(bool isBaby);
protected:
virtual int getAmbientSound();