summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-25 20:02:13 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-25 20:02:13 +0100
commit7468ba0f107ed01275f346c87ff5bb265dbbff3d (patch)
tree5c1c2563b5e95bfbfb999dee891150b99369f926 /src/Mobs/Monster.h
parentAttack() is no longer always called (diff)
downloadcuberite-7468ba0f107ed01275f346c87ff5bb265dbbff3d.tar
cuberite-7468ba0f107ed01275f346c87ff5bb265dbbff3d.tar.gz
cuberite-7468ba0f107ed01275f346c87ff5bb265dbbff3d.tar.bz2
cuberite-7468ba0f107ed01275f346c87ff5bb265dbbff3d.tar.lz
cuberite-7468ba0f107ed01275f346c87ff5bb265dbbff3d.tar.xz
cuberite-7468ba0f107ed01275f346c87ff5bb265dbbff3d.tar.zst
cuberite-7468ba0f107ed01275f346c87ff5bb265dbbff3d.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index d04cb8941..1dd302cdc 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -199,9 +199,13 @@ protected:
/** Sets the body yaw and head yaw/pitch based on next/ultimate destinations */
void SetPitchAndYawFromDestination(void);
- /* ===========================*/
+ /* =========================== */
+ /* ========= FALLING ========= */
-
+ virtual void HandleFalling(void);
+ int m_LastGroundHeight;
+
+ /* =========================== */
float m_IdleInterval;
float m_DestroyTimer;