Fix: No se limpiaba la pantalla tras entrar el JailerID

This commit is contained in:
2023-09-15 07:45:21 +02:00
parent 3fcf3b23e0
commit b1887fe6da
2 changed files with 9 additions and 2 deletions

View File

@@ -242,6 +242,11 @@ void Intro::run()
JA_SetVolume(64);
JA_PlayMusic(loadingSound1);
// Limpia la pantalla
screen->start();
screen->clean();
screen->blit();
while (section->name == SECTION_PROG_INTRO)
{
update();

View File

@@ -8,9 +8,11 @@ Empezado en Castalla el 01/07/2022.
#include "director.h"
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
std::cout << "Starting the game...\n\n";
cout << "Starting the game..." << endl;
// Crea el objeto Director
Director *director = new Director(argc, argv);
@@ -22,7 +24,7 @@ int main(int argc, char *argv[])
delete director;
director = nullptr;
std::cout << "\nShutting down the game..." << std::endl;
cout << "\nShutting down the game..." << endl;
return 0;
}