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/Player.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/Entities/Player.cpp') diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 9725118ee..8c047c533 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -104,7 +104,7 @@ cPlayer::BodyStanceGliding::BodyStanceGliding(cPlayer & a_Player) : cPlayer::cPlayer(const std::shared_ptr & a_Client) : - Super(etPlayer, 0.6, 1.8), + Super(etPlayer, 0.6f, 1.8f), m_BodyStance(BodyStanceStanding(*this)), m_FoodLevel(MAX_FOOD_LEVEL), m_FoodSaturationLevel(5.0), @@ -2821,16 +2821,6 @@ void cPlayer::AddKnownItem(const cItem & a_Item) -void cPlayer::SetSize(const float a_Width, const float a_Height) -{ - m_Width = a_Width; - m_Height = a_Height; -} - - - - - void cPlayer::AddKnownRecipe(UInt32 a_RecipeId) { auto Response = m_KnownRecipes.insert(a_RecipeId); -- cgit v1.2.3