fixing bugs

This commit is contained in:
2021-08-28 18:26:45 +02:00
parent 946ab62c30
commit 914b9e4123
9 changed files with 68 additions and 56 deletions

View File

@@ -76,7 +76,7 @@ Director::~Director()
delete mInput1;
mInput1 = nullptr;
delete mInput2;
mInput2 = nullptr;
@@ -490,7 +490,7 @@ bool Director::loadConfigFile()
// Aplica las opciones
SDL_SetWindowFullscreen(mWindow, mOptions->fullScreenMode);
SDL_SetWindowSize(mWindow, SCREEN_WIDTH * mOptions->windowSize, SCREEN_HEIGHT * mOptions->windowSize);
mLang->setLang(mOptions->language);
mLang->setLang(mOptions->language);
// Cierra el fichero
SDL_RWclose(file);