En el titulo no se podia empezar a jugar si no era con mando
This commit is contained in:
@@ -17,7 +17,6 @@ Game::Game(int playerID, int currentStage, SDL_Renderer *renderer, Screen *scree
|
||||
|
||||
// Pasa variables
|
||||
this->demo.enabled = demo;
|
||||
this->numPlayers = numPlayers;
|
||||
this->currentStage = currentStage;
|
||||
lastStageReached = currentStage;
|
||||
difficulty = options->game.difficulty;
|
||||
@@ -175,6 +174,7 @@ void Game::init(int playerID)
|
||||
Player *player2 = new Player((PLAY_AREA_CENTER_FIRST_QUARTER_X * ((1 * 2) + 1)) - 11, PLAY_AREA_BOTTOM - 24, renderer, playerTextures[1], playerAnimations);
|
||||
players.push_back(player2);
|
||||
|
||||
numPlayers = 2;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user