diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-21 22:55:36 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-21 22:55:36 +0100 |
commit | 4ce0c5a983bbb82a0a8091ad735c6ec494c912e2 (patch) | |
tree | e87c7544799ce5fd0e54e50caf2b4d909f6e4ca9 /source/Pickup.h | |
parent | Added HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands. (diff) | |
download | cuberite-4ce0c5a983bbb82a0a8091ad735c6ec494c912e2.tar cuberite-4ce0c5a983bbb82a0a8091ad735c6ec494c912e2.tar.gz cuberite-4ce0c5a983bbb82a0a8091ad735c6ec494c912e2.tar.bz2 cuberite-4ce0c5a983bbb82a0a8091ad735c6ec494c912e2.tar.lz cuberite-4ce0c5a983bbb82a0a8091ad735c6ec494c912e2.tar.xz cuberite-4ce0c5a983bbb82a0a8091ad735c6ec494c912e2.tar.zst cuberite-4ce0c5a983bbb82a0a8091ad735c6ec494c912e2.zip |
Diffstat (limited to 'source/Pickup.h')
-rw-r--r-- | source/Pickup.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/Pickup.h b/source/Pickup.h index 838fb0270..d3be60794 100644 --- a/source/Pickup.h +++ b/source/Pickup.h @@ -38,14 +38,11 @@ public: virtual void Tick(float a_Dt, MTRand & a_TickRandom) override; virtual void HandlePhysics(float a_Dt) override; - const Vector3f & GetSpeed(void) const {return m_Speed; } - private: - Vector3f m_Speed; - Vector3f m_ResultingSpeed; //Can be used to modify the resulting speed for the current tick ;) + Vector3d m_ResultingSpeed; //Can be used to modify the resulting speed for the current tick ;) - Vector3f m_WaterSpeed; + Vector3d m_WaterSpeed; bool m_bOnGround; bool m_bReplicated; |