From be2bf999c280d6892b38272d3f783b3462f0b745 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 6 Feb 2021 18:37:03 +0000 Subject: Fix #5118 --- src/Entities/Entity.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/Entities/Entity.h') diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index 143993dad..9fe7f16f5 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -591,12 +591,6 @@ public: /** Returs whether the entity has any mob leashed to it. */ bool HasAnyMobLeashed() const { return m_LeashedMobs.size() > 0; } - /** a lightweight calculation approach to get explosion exposure rate - @param a_ExplosionPosition explosion position - @param a_ExlosionPower explosion power - @return exposure rate */ - virtual float GetExplosionExposureRate(Vector3d a_ExplosionPosition, float a_ExlosionPower); - protected: @@ -705,11 +699,6 @@ protected: /** The number of ticks this entity has been alive for */ long int m_TicksAlive; - - /** Does the actual speed-setting. The default implementation just sets the member variable value; - overrides can provide further processing, such as forcing players to move at the given speed. */ - virtual void DoSetSpeed(double a_SpeedX, double a_SpeedY, double a_SpeedZ); - /** Handles the moving of this entity between worlds. Should handle degenerate cases such as moving to the same world. */ void DoMoveToWorld(const sWorldChangeInfo & a_WorldChangeInfo); -- cgit v1.2.3