summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-20 17:11:51 +0100
committermadmaxoft <github@xoft.cz>2013-12-20 17:11:51 +0100
commit8570d08eb4f9f3e1b30fe7758e8b136213e6bf48 (patch)
tree8f3cb55d694e9e1fefe72979a3f061fc394f6787 /src/Entities/Floater.cpp
parentFixed a typo in cBlockArea merging code. (diff)
downloadcuberite-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.cpp15
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
+}
+
+
+
+