summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/QuitView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/QuitView.cpp')
-rw-r--r--StarsEx/QuitView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/StarsEx/QuitView.cpp b/StarsEx/QuitView.cpp
index 90b90ab..8bee3e4 100644
--- a/StarsEx/QuitView.cpp
+++ b/StarsEx/QuitView.cpp
@@ -166,7 +166,7 @@ QuitView::ExecFrame()
Clock::GetInstance()->SetTimeCompression(1.0);
Starshatter* stars = Starshatter::GetInstance();
- stars->SetGameMode(Starshatter::PLAN_MODE);
+ stars->SetGameMode(Game::PLAN_MODE);
}
// quit and discard results:
@@ -183,11 +183,11 @@ QuitView::ExecFrame()
if (campaign && campaign->GetCampaignId() < Campaign::SINGLE_MISSIONS) {
campaign->RollbackMission();
- stars->SetGameMode(Starshatter::CMPN_MODE);
+ stars->SetGameMode(Game::CMPN_MODE);
}
else {
- stars->SetGameMode(Starshatter::MENU_MODE);
+ stars->SetGameMode(Game::MENU_MODE);
}
}