Renombrado "section->subsection" por el mas apropiado "section->options"

This commit is contained in:
2024-09-09 13:38:56 +02:00
parent 1b2d1c5786
commit 922d146781
9 changed files with 27 additions and 25 deletions

View File

@@ -19,7 +19,7 @@ Director::Director(int argc, char *argv[])
section = new section_t();
#ifdef RECORDING
section->name = SECTION_PROG_GAME;
section->subsection = SUBSECTION_GAME_PLAY_1P;
section->options = SECTION_OPTIONS_GAME_PLAY_1P;
#elif DEBUG
section->name = SECTION_PROG_LOGO;
#else
@@ -849,7 +849,7 @@ void Director::runTitle()
// Ejecuta la sección donde se juega al juego
void Director::runGame()
{
const int playerID = section->subsection == SUBSECTION_GAME_PLAY_1P ? 0 : 1;
const int playerID = section->options == SECTION_OPTIONS_GAME_PLAY_1P ? 0 : 1;
game = new Game(playerID, 0, screen, asset, lang, input, false, param, options, section, getMusic(musics, "playing.ogg"));
game->run();
delete game;