el modo demo ya termina con un fundido
This commit is contained in:
@@ -1552,7 +1552,9 @@ void Game::updatePlayers()
|
||||
|
||||
if (demo.enabled && !player->isAlive())
|
||||
{
|
||||
section->name = SECTION_PROG_HI_SCORE_TABLE;
|
||||
fade->setType(FADE_RANDOM_SQUARE);
|
||||
fade->activate();
|
||||
//section->name = SECTION_PROG_HI_SCORE_TABLE;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2537,12 +2539,23 @@ void Game::update()
|
||||
if (demo.counter < TOTAL_DEMO_DATA)
|
||||
{
|
||||
demo.counter++;
|
||||
if (demo.counter == TOTAL_DEMO_DATA - 200)
|
||||
{
|
||||
fade->setType(FADE_RANDOM_SQUARE);
|
||||
fade->activate();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
section->name = SECTION_PROG_HI_SCORE_TABLE;
|
||||
return;
|
||||
}
|
||||
|
||||
if (fade->hasEnded())
|
||||
{
|
||||
section->name = SECTION_PROG_HI_SCORE_TABLE;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef RECORDING
|
||||
|
||||
Reference in New Issue
Block a user