From 4d2637d69b4e621d53d41409613dadd65ba459da Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 14 Jul 2025 12:38:10 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20si=20el=20jugador=20no=20continua=20i=20?= =?UTF-8?q?despres=20vol=20jugar,=20el=20jugador=20ix=20en=20la=20posici?= =?UTF-8?q?=C3=B3=20per=20defecte=20(i=20no=20on=20havia=20mort)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/player.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/player.cpp b/source/player.cpp index a01bce6..1941afe 100644 --- a/source/player.cpp +++ b/source/player.cpp @@ -607,6 +607,7 @@ void Player::setPlayingState(PlayerState state) } case PlayerState::WAITING: { + pos_x_ = default_pos_x_; setScoreboardMode(ScoreboardMode::WAITING); break; }