summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-04 22:10:44 +0100
committerMattes D <github@xoft.cz>2014-02-04 22:10:44 +0100
commitdad49c6fddaa361cd4f98b095cfeb0e2d2e1a435 (patch)
tree01bca60c90c1d5a6a5d00429a95bb99b3dfa9ac1 /src/Entities/Floater.cpp
parentFixed chest placement. (diff)
parentFix gcc not having operator ++ on enums (diff)
downloadcuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.gz
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.bz2
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.lz
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.xz
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.tar.zst
cuberite-dad49c6fddaa361cd4f98b095cfeb0e2d2e1a435.zip
Diffstat (limited to 'src/Entities/Floater.cpp')
-rw-r--r--src/Entities/Floater.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Floater.cpp b/src/Entities/Floater.cpp
index dfe77f059..38160a30e 100644
--- a/src/Entities/Floater.cpp
+++ b/src/Entities/Floater.cpp
@@ -35,7 +35,7 @@ public:
cBoundingBox EntBox(a_Entity->GetPosition(), a_Entity->GetWidth() / 2, a_Entity->GetHeight());
double LineCoeff;
- char Face;
+ eBlockFace Face;
EntBox.Expand(m_Floater->GetWidth() / 2, m_Floater->GetHeight() / 2, m_Floater->GetWidth() / 2);
if (!EntBox.CalcLineIntersection(m_Pos, m_NextPos, LineCoeff, Face))
{
@@ -215,4 +215,4 @@ void cFloater::Tick(float a_Dt, cChunk & a_Chunk)
SetSpeedZ(GetSpeedZ() * 0.95);
BroadcastMovementUpdate();
-} \ No newline at end of file
+}