From e0dd50e4314a36fd99da0a7342b5ad88f449d33e Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 9 Mar 2022 20:29:54 +0100 Subject: Changed to access Pause through Game rather than derived classes --- Stars45/QuitView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/QuitView.cpp') diff --git a/Stars45/QuitView.cpp b/Stars45/QuitView.cpp index bc0b348..eaebce5 100644 --- a/Stars45/QuitView.cpp +++ b/Stars45/QuitView.cpp @@ -282,7 +282,7 @@ QuitView::ShowMenu() } Button::PlaySound(Button::SND_CONFIRM); - Starshatter::GetInstance()->Pause(true); + Game::GetInstance()->Pause(true); if (mouse_con) { mouse_active = mouse_con->Active(); @@ -295,7 +295,7 @@ void QuitView::CloseMenu() { show_menu = false; - Starshatter::GetInstance()->Pause(false); + Game::GetInstance()->Pause(false); if (mouse_con) mouse_con->SetActive(mouse_active); -- cgit v1.1