Reverted the last change.
It was just a coincidence. Nothing actually changed.
This commit is contained in:
parent
3b114a5e34
commit
a7f4edb9ea
|
@ -545,16 +545,10 @@ int title_show()
|
||||||
}
|
}
|
||||||
else if (selectedOption == 3)
|
else if (selectedOption == 3)
|
||||||
{
|
{
|
||||||
if (engine.fullScreen)
|
engine.fullScreen = !engine.fullScreen;
|
||||||
{
|
SDL_SetWindowFullscreen(window,
|
||||||
SDL_SetWindowFullscreen(window, 0);
|
(engine.fullScreen ?
|
||||||
engine.fullScreen = 0;
|
SDL_WINDOW_FULLSCREEN_DESKTOP : 0));
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP);
|
|
||||||
engine.fullScreen = 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (selectedOption == 4)
|
else if (selectedOption == 4)
|
||||||
{
|
{
|
||||||
|
@ -591,7 +585,8 @@ int title_show()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
engine.keyState[KEY_FIRE] = engine.keyState[KEY_ALTFIRE] = 0;
|
engine.keyState[KEY_FIRE] = 0;
|
||||||
|
engine.keyState[KEY_ALTFIRE] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
game_delayFrame();
|
game_delayFrame();
|
||||||
|
@ -602,7 +597,8 @@ int title_show()
|
||||||
SDL_FreeSurface(prlogo);
|
SDL_FreeSurface(prlogo);
|
||||||
SDL_FreeSurface(sflogo);
|
SDL_FreeSurface(sflogo);
|
||||||
|
|
||||||
engine.keyState[KEY_FIRE] = engine.keyState[KEY_ALTFIRE] = 0;
|
engine.keyState[KEY_FIRE] = 0;
|
||||||
|
engine.keyState[KEY_ALTFIRE] = 0;
|
||||||
|
|
||||||
engine_resetLists();
|
engine_resetLists();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue