- 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:
Randy Heit 2007-12-18 03:53:02 +00:00
parent 1b55520a8b
commit 990f720409
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,6 @@
December 17, 2007 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: Heretic's mace never respawned in deathmatch games.
- Fixed: At resolutions taller than 600 pixels or so, tall sky textures were - 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. drawn a row too low. This was quite visible on Hexen MAP06.

View file

@ -2359,9 +2359,9 @@ void M_OptResponder (event_t *ev)
} }
case '\r': 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; NewWidth = SCREENWIDTH;
NewHeight = SCREENHEIGHT; NewHeight = SCREENHEIGHT;