diff options
author | madmaxoft <github@xoft.cz> | 2013-12-20 17:11:51 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-20 17:11:51 +0100 |
commit | 8570d08eb4f9f3e1b30fe7758e8b136213e6bf48 (patch) | |
tree | 8f3cb55d694e9e1fefe72979a3f061fc394f6787 /src/Entities/Floater.cpp | |
parent | Fixed a typo in cBlockArea merging code. (diff) | |
download | cuberite-8570d08eb4f9f3e1b30fe7758e8b136213e6bf48.tar cuberite-8570d08eb4f9f3e1b30fe7758e8b136213e6bf48.tar.gz cuberite-8570d08eb4f9f3e1b30fe7758e8b136213e6bf48.tar.bz2 cuberite-8570d08eb4f9f3e1b30fe7758e8b136213e6bf48.tar.lz cuberite-8570d08eb4f9f3e1b30fe7758e8b136213e6bf48.tar.xz cuberite-8570d08eb4f9f3e1b30fe7758e8b136213e6bf48.tar.zst cuberite-8570d08eb4f9f3e1b30fe7758e8b136213e6bf48.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Floater.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/Entities/Floater.cpp b/src/Entities/Floater.cpp index 1aa0413d9..bd7c952a8 100644 --- a/src/Entities/Floater.cpp +++ b/src/Entities/Floater.cpp @@ -1,14 +1,19 @@ + #include "Globals.h" #include "Floater.h" #include "Player.h" #include "../ClientHandle.h" + + + + cFloater::cFloater(double a_X, double a_Y, double a_Z, Vector3d a_Speed, int a_PlayerID) : cEntity(etFloater, a_X, a_Y, a_Z, 0.98, 0.98), + m_PickupCountDown(0), m_PlayerID(a_PlayerID), - m_CanPickupItem(false), - m_PickupCountDown(0) + m_CanPickupItem(false) { SetSpeed(a_Speed); } @@ -55,4 +60,8 @@ void cFloater::Tick(float a_Dt, cChunk & a_Chunk) } } BroadcastMovementUpdate(); -}
\ No newline at end of file +} + + + + |