From 4cc312f90d27ea7abb010bd317188d9d08a9fd3e Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 3 Apr 2022 22:51:15 +0200 Subject: Added base game mode management to Game --- StarsEx/MsnDlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'StarsEx/MsnDlg.cpp') diff --git a/StarsEx/MsnDlg.cpp b/StarsEx/MsnDlg.cpp index 4d2bfba..f332b3d 100644 --- a/StarsEx/MsnDlg.cpp +++ b/StarsEx/MsnDlg.cpp @@ -277,7 +277,7 @@ MsnDlg::OnCommit(AWEvent* event) if (stars) { Mouse::Show(false); - stars->SetGameMode(Starshatter::LOAD_MODE); + stars->SetGameMode(Game::LOAD_MODE); } else @@ -293,9 +293,9 @@ MsnDlg::OnCancel(AWEvent* event) Mouse::Show(false); if (campaign && (campaign->IsDynamic() || campaign->IsTraining())) - stars->SetGameMode(Starshatter::CMPN_MODE); + stars->SetGameMode(Game::CMPN_MODE); else - stars->SetGameMode(Starshatter::MENU_MODE); + stars->SetGameMode(Game::MENU_MODE); } else -- cgit v1.1