diff --git a/src/game/player/player.cpp b/src/game/player/player.cpp index c88280b..c5bb9e7 100644 --- a/src/game/player/player.cpp +++ b/src/game/player/player.cpp @@ -81,7 +81,7 @@ float Player::getWorldRadius() const sf::Vector2f Player::getIsoSize() const { // TODO: For some reason, the player is a little to narrow. This fixes it. - const float fixFactor = 1.4f; + const float fixFactor = sqrt(2); float width = radiusInWorld * 2.f * WORLD_TO_ISO_SCALE * fixFactor; return {width, width * ISOMETRIC_SKEW}; }