summaryrefslogtreecommitdiffstats
path: root/source/Pickup.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-21 22:55:36 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-02-21 22:55:36 +0100
commit4ce0c5a983bbb82a0a8091ad735c6ec494c912e2 (patch)
treee87c7544799ce5fd0e54e50caf2b4d909f6e4ca9 /source/Pickup.h
parentAdded HOOK_EXECUTE_COMMAND for intercepting executed commands and console commands. (diff)
downloadcuberite-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.h7
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;