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/CmpSelectDlg.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/CmpSelectDlg.cpp')
-rw-r--r-- | StarsEx/CmpSelectDlg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/StarsEx/CmpSelectDlg.cpp b/StarsEx/CmpSelectDlg.cpp index 95f9efa..6942a60 100644 --- a/StarsEx/CmpSelectDlg.cpp +++ b/StarsEx/CmpSelectDlg.cpp @@ -34,6 +34,7 @@ #include "Mouse.h" #include "ParseUtil.h" #include "FormatUtil.h" +#include "Game.h" // +--------------------------------------------------------------------+ // DECLARE MAPPING FUNCTIONS: @@ -500,7 +501,7 @@ CmpSelectDlg::OnAccept(AWEvent* event) Clock::GetInstance()->ResetGameTime(); Mouse::Show(false); - stars->SetGameMode(Starshatter::CLOD_MODE); + stars->SetGameMode(Game::CLOD_MODE); } void |