summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/LoadDlg.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/LoadDlg.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/LoadDlg.cpp')
-rw-r--r--StarsEx/LoadDlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/StarsEx/LoadDlg.cpp b/StarsEx/LoadDlg.cpp
index 1138fec..61bafa7 100644
--- a/StarsEx/LoadDlg.cpp
+++ b/StarsEx/LoadDlg.cpp
@@ -56,11 +56,11 @@ LoadDlg::ExecFrame()
if (stars) {
if (title) {
- if (stars->GetGameMode() == Starshatter::CLOD_MODE ||
- stars->GetGameMode() == Starshatter::CMPN_MODE)
+ if (stars->GetGameMode() == Game::CLOD_MODE ||
+ stars->GetGameMode() == Game::CMPN_MODE)
title->SetText(ContentBundle::GetInstance()->GetText("LoadDlg.campaign"));
- else if (stars->GetGameMode() == Starshatter::MENU_MODE)
+ else if (stars->GetGameMode() == Game::MENU_MODE)
title->SetText(ContentBundle::GetInstance()->GetText("LoadDlg.tac-ref"));
else