From 6e80f7544d786443d3028308e244b04dd8d5abcb Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Tue, 6 Apr 2021 16:09:16 +0100 Subject: Update entity sizes --- src/Entities/EnderCrystal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Entities/EnderCrystal.cpp') diff --git a/src/Entities/EnderCrystal.cpp b/src/Entities/EnderCrystal.cpp index defa396f5..07fd56dad 100644 --- a/src/Entities/EnderCrystal.cpp +++ b/src/Entities/EnderCrystal.cpp @@ -20,7 +20,7 @@ cEnderCrystal::cEnderCrystal(Vector3d a_Pos, bool a_ShowBottom) : cEnderCrystal::cEnderCrystal(Vector3d a_Pos, Vector3i a_BeamTarget, bool a_DisplayBeam, bool a_ShowBottom) : - Super(etEnderCrystal, a_Pos, 1.0, 1.0), + Super(etEnderCrystal, a_Pos, 2.0f, 2.0f), m_BeamTarget(a_BeamTarget), m_DisplayBeam(a_DisplayBeam), m_ShowBottom(a_ShowBottom) @@ -92,7 +92,7 @@ void cEnderCrystal::KilledBy(TakeDamageInfo & a_TDI) // Destroy first so the Explodinator doesn't find us (when iterating through entities): Destroy(); - m_World->DoExplosionAt(6.0, GetPosX(), GetPosY() + (GetHeight() / 2.0), GetPosZ(), true, esEnderCrystal, this); + m_World->DoExplosionAt(6.0, GetPosX(), GetPosY() + GetHeight() / 2, GetPosZ(), true, esEnderCrystal, this); const auto Position = GetPosition().Floor(); if (cChunkDef::IsValidHeight(Position.y)) -- cgit v1.2.3