diff options
author | Aki <please@ignore.pl> | 2022-03-09 20:29:54 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-09 22:56:52 +0100 |
commit | e0dd50e4314a36fd99da0a7342b5ad88f449d33e (patch) | |
tree | 543766d28e3125c95067bdcab268055018fa6178 /Stars45/QuitView.cpp | |
parent | af4e8e1717405963ff89a114832d376f937786da (diff) | |
download | starshatter-e0dd50e4314a36fd99da0a7342b5ad88f449d33e.zip starshatter-e0dd50e4314a36fd99da0a7342b5ad88f449d33e.tar.gz starshatter-e0dd50e4314a36fd99da0a7342b5ad88f449d33e.tar.bz2 |
Changed to access Pause through Game rather than derived classes
Diffstat (limited to 'Stars45/QuitView.cpp')
-rw-r--r-- | Stars45/QuitView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |