bug fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user