summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/CampaignMissionFighter.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-03 22:51:15 +0200
committerAki <please@ignore.pl>2022-04-03 22:51:15 +0200
commit4cc312f90d27ea7abb010bd317188d9d08a9fd3e (patch)
tree844ae61007f22a9c561221aad814a54562972641 /StarsEx/CampaignMissionFighter.cpp
parent4b8ddd088afb8f0021c6cfa1b7700e0b521b8ac5 (diff)
downloadstarshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.zip
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.gz
starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.bz2
Added base game mode management to Game
Diffstat (limited to 'StarsEx/CampaignMissionFighter.cpp')
-rw-r--r--StarsEx/CampaignMissionFighter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/StarsEx/CampaignMissionFighter.cpp b/StarsEx/CampaignMissionFighter.cpp
index be39d58..78409e9 100644
--- a/StarsEx/CampaignMissionFighter.cpp
+++ b/StarsEx/CampaignMissionFighter.cpp
@@ -34,6 +34,7 @@
#include "ContentBundle.h"
#include "Random.h"
+#include "Game.h"
static int pkg_id = 1000;
extern int dump_missions;
@@ -2150,5 +2151,5 @@ CampaignMissionFighter::Exit()
{
Starshatter* stars = Starshatter::GetInstance();
if (stars)
- stars->SetGameMode(Starshatter::MENU_MODE);
+ stars->SetGameMode(Game::MENU_MODE);
}