From 7b6d429bede2d7642c676120932edcad983085fa Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Sat, 4 Jan 2025 14:27:37 +0100 Subject: [PATCH] fix: un vuelo rasante havia trencat els credits --- source/director.cpp | 2 +- source/player.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/director.cpp b/source/director.cpp index 1979cc0..b2e68c7 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -54,7 +54,7 @@ Director::Director(int argc, const char *argv[]) section::name = section::Name::GAME; section::options = section::Options::GAME_PLAY_1P; #elif DEBUG - section::name = section::Name::LOGO; + section::name = section::Name::CREDITS; #else // NORMAL GAME section::name = section::Name::LOGO; section::attract_mode = section::AttractMode::TITLE_TO_DEMO; diff --git a/source/player.cpp b/source/player.cpp index 0810726..f13e52c 100644 --- a/source/player.cpp +++ b/source/player.cpp @@ -41,7 +41,7 @@ void Player::init() pos_y_ = default_pos_y_; walking_state_ = PlayerState::WALKING_STOP; firing_state_ = PlayerState::FIRING_NONE; - setPlayingState(PlayerState::WAITING); + playing_state_ = PlayerState::WAITING; invulnerable_ = true; invulnerable_counter_ = INVULNERABLE_COUNTER_; power_up_ = false;