bug fixes

This commit is contained in:
2021-09-01 17:23:12 +02:00
parent 70ae7f67a9
commit 64369921ec
4 changed files with 15 additions and 13 deletions

View File

@@ -36,13 +36,9 @@ un tipo asociado diferente a NO_KIND
#include "director.h"
#include <stdio.h>
#include <string>
int main(int argc, char *args[])
{
// Inicia el generador de numeros aleatorios
std::srand(static_cast<unsigned int>(SDL_GetTicks()));
printf("Starting the game...\n\n");
// Crea el objeto Director
@@ -54,6 +50,7 @@ int main(int argc, char *args[])
// Destruye el objeto Director
delete mDirector;
mDirector = nullptr;
printf("\nShutting down the game...\n");
return 0;