diff options
author | Aki <please@ignore.pl> | 2022-04-03 22:51:15 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-03 22:51:15 +0200 |
commit | 4cc312f90d27ea7abb010bd317188d9d08a9fd3e (patch) | |
tree | 844ae61007f22a9c561221aad814a54562972641 /StarsEx/LoadScreen.cpp | |
parent | 4b8ddd088afb8f0021c6cfa1b7700e0b521b8ac5 (diff) | |
download | starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.zip starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.gz starshatter-4cc312f90d27ea7abb010bd317188d9d08a9fd3e.tar.bz2 |
Added base game mode management to Game
Diffstat (limited to 'StarsEx/LoadScreen.cpp')
-rw-r--r-- | StarsEx/LoadScreen.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/StarsEx/LoadScreen.cpp b/StarsEx/LoadScreen.cpp index 60972e2..56234c6 100644 --- a/StarsEx/LoadScreen.cpp +++ b/StarsEx/LoadScreen.cpp @@ -12,6 +12,7 @@ #include "CmpLoadDlg.h" #include "Starshatter.h" +#include "Game.h" #include "GameWinDX9.h" #include "Video.h" #include "Screen.h" @@ -132,8 +133,8 @@ LoadScreen::ShowLoadDlg() // show campaign load dialog if available and loading campaign if (stars && cmp_load_dlg) { - if (stars->GetGameMode() == Starshatter::CLOD_MODE || - stars->GetGameMode() == Starshatter::CMPN_MODE) { + if (stars->GetGameMode() == Game::CLOD_MODE || + stars->GetGameMode() == Game::CMPN_MODE) { cmp_load_dlg->Show(); Mouse::Show(false); return; |