From: malak585 Date: Mon, 13 Nov 2023 07:38:46 +0000 (+0100) Subject: test X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=076eabd92dbf0f91a6697d4617642b59294b22d0;p=TDDC76_proj.git test --- diff --git a/src/States.cc b/src/States.cc index 97faf60..012042a 100644 --- a/src/States.cc +++ b/src/States.cc @@ -57,7 +57,7 @@ Start_menu::Start_menu() : texture{}, sprite{}, exit_menu{false} sf::FloatRect gb {sprite.getGlobalBounds()}; sprite.setOrigin(gb.width / 2, gb.height / 2); - sprite.setPosition(S_WIDTH / 2, S_HEIGHT / 2); + sprite.setPosition(S_WIDTH / 2, S_HEIGHT / 2); // hej } void Start_menu::update(Context& context)