From 994036a3b8b09f8da1b6ec2055cc7a5ceb05a776 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Sun, 3 May 2020 20:04:33 +0000 Subject: Add cEntity::GetBoundingBox, and use where appropriate. (#4711) * Add cEntity::GetBoundingBox, and use where appropriate. --- src/Entities/Floater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Floater.cpp') 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; -- cgit v1.2.3