mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-03 17:35:43 -04:00
FullscreenUI: Make achievements window pause game
This commit is contained in:
parent
2088fa599e
commit
b45891f21a
@ -2207,10 +2207,8 @@ void DrawQuickMenu(MainWindowType type)
|
|||||||
#ifdef WITH_CHEEVOS
|
#ifdef WITH_CHEEVOS
|
||||||
const bool achievements_enabled = Cheevos::HasActiveGame() && (Cheevos::GetAchievementCount() > 0);
|
const bool achievements_enabled = Cheevos::HasActiveGame() && (Cheevos::GetAchievementCount() > 0);
|
||||||
if (ActiveButton(ICON_FA_TROPHY " Achievements", false, achievements_enabled))
|
if (ActiveButton(ICON_FA_TROPHY " Achievements", false, achievements_enabled))
|
||||||
{
|
|
||||||
CloseQuickMenu();
|
|
||||||
s_current_main_window = MainWindowType::Achievements;
|
s_current_main_window = MainWindowType::Achievements;
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
ActiveButton(ICON_FA_TROPHY " Achievements", false, false);
|
ActiveButton(ICON_FA_TROPHY " Achievements", false, false);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user