From 9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 20 Feb 2017 01:03:19 -0800 Subject: Changed fish launching mechanism (#3520) Fish and other fishing loot now correctly fly towards played when reeled in. --- src/Entities/Floater.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Entities/Floater.h') diff --git a/src/Entities/Floater.h b/src/Entities/Floater.h index 89ee8cc08..59402393f 100644 --- a/src/Entities/Floater.h +++ b/src/Entities/Floater.h @@ -27,12 +27,16 @@ public: bool CanPickup(void) const { return m_CanPickupItem; } UInt32 GetOwnerID(void) const { return m_PlayerID; } UInt32 GetAttachedMobID(void) const { return m_AttachedMobID; } + Vector3d GetBitePos(void) const { return m_BitePos; } // tolua_end protected: // Position Vector3d m_ParticlePos; + // Position just before the floater gets pulled under by a fish + Vector3d m_BitePos; + // Bool needed to check if you can get a fish. bool m_CanPickupItem; -- cgit v1.2.3