projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8239bfe
)
added leaving story screen to main menu with "cursor left" key
author
Holger Schemel
<holger.schemel@virtion.de>
Tue, 12 Nov 2024 18:37:13 +0000
(19:37 +0100)
committer
Holger Schemel
<holger.schemel@virtion.de>
Tue, 12 Nov 2024 18:37:22 +0000
(19:37 +0100)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 35a2386b84d0361bca3eed963cf697cd777d0e4e..27ef88a69d650095a5c8548801d2da4636035072 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4459,7
+4459,7
@@
void HandleInfoScreen_Generic(int mx, int my, int dx, int dy, int button)
DrawInfoScreen_GenericScreen(screen_nr, num_screens, use_global_screens);
}
- else if (button == MB_MENU_LEAVE)
+ else if (button == MB_MENU_LEAVE
|| dx < 0
)
{
PlaySound(SND_MENU_ITEM_SELECTING);
@@
-4483,7
+4483,7
@@
void HandleInfoScreen_Generic(int mx, int my, int dx, int dy, int button)
return;
}
- else if ((mx >= 0 && my >= 0 && button == MB_MENU_CHOICE) || dx)
+ else if ((mx >= 0 && my >= 0 && button == MB_MENU_CHOICE) || dx
> 0
)
{
PlaySound(SND_MENU_ITEM_SELECTING);