mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Fixed: In the video modes menu, pressing Enter tried to change the screen
mode, even if the cursor wasn't on one of the mode items. SVN r604 (trunk)
This commit is contained in:
parent
1b55520a8b
commit
990f720409
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
December 17, 2007
|
||||
- Fixed: In the video modes menu, pressing Enter tried to change the screen
|
||||
mode, even if the cursor wasn't on one of the mode items.
|
||||
- Fixed: Heretic's mace never respawned in deathmatch games.
|
||||
- Fixed: At resolutions taller than 600 pixels or so, tall sky textures were
|
||||
drawn a row too low. This was quite visible on Hexen MAP06.
|
||||
|
|
|
@ -2359,9 +2359,9 @@ void M_OptResponder (event_t *ev)
|
|||
}
|
||||
|
||||
case '\r':
|
||||
if (CurrentMenu == &ModesMenu)
|
||||
if (CurrentMenu == &ModesMenu && item->type == screenres)
|
||||
{
|
||||
if (!(item->type == screenres && GetSelectedSize (CurrentItem, &NewWidth, &NewHeight)))
|
||||
if (!GetSelectedSize (CurrentItem, &NewWidth, &NewHeight))
|
||||
{
|
||||
NewWidth = SCREENWIDTH;
|
||||
NewHeight = SCREENHEIGHT;
|
||||
|
|
Loading…
Reference in a new issue