From de03dd6460c59c8abdd5b613ffa73511486022fc Mon Sep 17 00:00:00 2001 From: "keyboard.osh@gmail.com" Date: Mon, 22 Apr 2013 07:18:03 +0000 Subject: Moved physics to the cEntity class from the derivative classes (cMonster, cPickup). Added physics override to cPlayer to disable physics calculations. Fixed bug with pitch calculations on mobs. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1400 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Mobs/Monster.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/Mobs/Monster.h') diff --git a/source/Mobs/Monster.h b/source/Mobs/Monster.h index c7abeb243..ec27df38a 100644 --- a/source/Mobs/Monster.h +++ b/source/Mobs/Monster.h @@ -38,9 +38,6 @@ public: virtual void SpawnOn(cClientHandle & a_ClientHandle) override; virtual void Tick(float a_Dt, cChunk & a_Chunk) override; - - virtual void HandlePhysics(float a_Dt); - virtual void ReplicateMovement(void); virtual void DoTakeDamage(TakeDamageInfo & a_TDI) override; @@ -91,9 +88,6 @@ protected: float m_DestinationTime; - float m_Gravity; - bool m_bOnGround; - float m_DestroyTimer; float m_Jump; -- cgit v1.2.3