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;