projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed duplicate code
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index 0198a8eea8bdb8e5a472e84b0cd96c67a4d10e9c..1318bde16e80a2a079b41caab99c452ef8714d78 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-4619,17
+4619,7
@@
void HandleHallOfFame(int mx, int my, int dx, int dy, int button)
drawHallOfFameList(first_entry, highlight_position);
}
}
drawHallOfFameList(first_entry, highlight_position);
}
}
- else if (button == MB_MENU_LEAVE)
- {
- PlaySound(SND_MENU_ITEM_SELECTING);
-
- FadeSound(SND_BACKGROUND_SCORES);
-
- SetGameStatus(GAME_MODE_MAIN);
-
- DrawMainMenu();
- }
- else if (button == MB_MENU_CHOICE)
+ else if (button == MB_MENU_LEAVE || button == MB_MENU_CHOICE)
{
PlaySound(SND_MENU_ITEM_SELECTING);
{
PlaySound(SND_MENU_ITEM_SELECTING);