fix: restore ghast reach checks and fire collision bounds after AABB refactor
This commit is contained in:
1 parent
8cbdb636aa
commit
c12f32f637
2 files changed
+5
-4
No files matched your search
@@ -885,8 +885,8 @@ void Entity::move(double xa, double ya, double za,
|
||||
checkInsideTiles();
|
||||
|
||||
bool water = isInWaterOrRain();
|
||||
const AABB& shrunk = bb.shrink(0.001, 0.001, 0.001);
|
||||
if (level->containsFireTile(&bb)) {
|
||||
AABB shrunk = bb.shrink(0.001, 0.001, 0.001);
|
||||
if (level->containsFireTile(&shrunk)) {
|
||||
burn(1);
|
||||
if (!water) {
|
||||
onFire++;
|
||||
|
||||
Reference in new issue
Block a user