summaryrefslogtreecommitdiffhomepage
path: root/Stars45/LoadDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/LoadDlg.cpp')
-rw-r--r--Stars45/LoadDlg.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Stars45/LoadDlg.cpp b/Stars45/LoadDlg.cpp
index 77b5a6f..1d98e0d 100644
--- a/Stars45/LoadDlg.cpp
+++ b/Stars45/LoadDlg.cpp
@@ -17,6 +17,7 @@
#include "Starshatter.h"
#include "Game.h"
+#include "ContentBundle.h"
#include "DataLoader.h"
#include "Video.h"
#include "Keyboard.h"
@@ -58,13 +59,13 @@ LoadDlg::ExecFrame()
if (title) {
if (stars->GetGameMode() == Starshatter::CLOD_MODE ||
stars->GetGameMode() == Starshatter::CMPN_MODE)
- title->SetText(Game::GetInstance()->GetText("LoadDlg.campaign"));
+ title->SetText(ContentBundle::GetInstance()->GetText("LoadDlg.campaign"));
else if (stars->GetGameMode() == Starshatter::MENU_MODE)
- title->SetText(Game::GetInstance()->GetText("LoadDlg.tac-ref"));
+ title->SetText(ContentBundle::GetInstance()->GetText("LoadDlg.tac-ref"));
else
- title->SetText(Game::GetInstance()->GetText("LoadDlg.mission"));
+ title->SetText(ContentBundle::GetInstance()->GetText("LoadDlg.mission"));
}
activity->SetText(stars->GetLoadActivity());