summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities/Floater.cpp')
-rw-r--r--src/Entities/Floater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Floater.cpp b/src/Entities/Floater.cpp
index bd1e7a637..bb326f70b 100644
--- a/src/Entities/Floater.cpp
+++ b/src/Entities/Floater.cpp
@@ -31,7 +31,7 @@ public:
return false;
}
- cBoundingBox EntBox(a_Entity.GetPosition(), a_Entity.GetWidth() / 2, a_Entity.GetHeight());
+ auto EntBox = a_Entity.GetBoundingBox();
double LineCoeff;
eBlockFace Face;