From cbfc740ad0ade4b8f03648ea52c16368d3a026a8 Mon Sep 17 00:00:00 2001 From: jclever77 <82078401+jclever77@users.noreply.github.com> Date: Fri, 30 Apr 2021 07:39:10 -0400 Subject: Added functionality: mobs now enter boats and minecarts (#5214) * Added functionality: mobs now enter boats and minecarts when coming into collision with them. * Fixed basic style errors, nothing else * Added self to contributors and reverted .gitignore to original state. --- src/Entities/Boat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Entities/Boat.h') diff --git a/src/Entities/Boat.h b/src/Entities/Boat.h index 4a583a26c..455e740e2 100644 --- a/src/Entities/Boat.h +++ b/src/Entities/Boat.h @@ -48,6 +48,7 @@ public: virtual bool DoTakeDamage(TakeDamageInfo & TDI) override; virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; virtual void HandleSpeedFromAttachee(float a_Forward, float a_Sideways) override; + virtual void HandlePhysics(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; int GetLastDamage(void) const { return m_LastDamage; } int GetForwardDirection(void) const { return m_ForwardDirection; } -- cgit v1.2.3