summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/DebriefDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/DebriefDlg.cpp')
-rw-r--r--StarsEx/DebriefDlg.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/StarsEx/DebriefDlg.cpp b/StarsEx/DebriefDlg.cpp
index d4977ab..a0a2b30 100644
--- a/StarsEx/DebriefDlg.cpp
+++ b/StarsEx/DebriefDlg.cpp
@@ -39,6 +39,7 @@
#include "Slider.h"
#include "ParseUtil.h"
#include "Panic.h"
+#include "Game.h"
// +--------------------------------------------------------------------+
// DECLARE MAPPING FUNCTIONS:
@@ -361,9 +362,9 @@ DebriefDlg::OnClose(AWEvent* event)
Campaign* campaign = Campaign::GetCampaign();
if (campaign && campaign->GetCampaignId() < Campaign::SINGLE_MISSIONS)
- stars->SetGameMode(Starshatter::CMPN_MODE);
+ stars->SetGameMode(Game::CMPN_MODE);
else
- stars->SetGameMode(Starshatter::MENU_MODE);
+ stars->SetGameMode(Game::MENU_MODE);
}
else {