79814520

Date: 2025-11-09 00:04:20
Score: 2.5
Natty:
Report link
m_shape->getSize() // sf::Vector2f

While in your code you perform

m_shape->getPosition().x + (m_shape->getSize() / 2)

Which is illegal since getPosition().x is a float. Are you sure you did not want to use m_shape->getSize().x?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: haievyiivan