bugfixed initEnemyFormations

This commit is contained in:
2021-04-22 12:10:47 +02:00
parent 9b5eaf36e1
commit a0e94035db
2 changed files with 9 additions and 10 deletions

View File

@@ -423,13 +423,13 @@ void Director::runGame()
void Director::run()
{
for (int i = 0; i < 100; i++)
{
Game *test = new Game(mRenderer, mFileList, mInput, true);
delete test;
printf("%i\n", i);
}
mSection.name = PROG_SECTION_QUIT;
//for (int i = 0; i < 100; i++)
//{
// Game *test = new Game(mRenderer, mFileList, mInput, true);
// delete test;
// printf("%i\n", i);
//}
//mSection.name = PROG_SECTION_QUIT;
// Bucle principal
while (!(getSection() == PROG_SECTION_QUIT))