From 0da933a0146a0689546b21231e14f2dfc2bc14e8 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 23 Feb 2022 23:36:37 +0100 Subject: Switched to use ContentBundle's GetText --- Stars45/NavSystem.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Stars45/NavSystem.cpp') diff --git a/Stars45/NavSystem.cpp b/Stars45/NavSystem.cpp index bf27dae..877e720 100644 --- a/Stars45/NavSystem.cpp +++ b/Stars45/NavSystem.cpp @@ -18,6 +18,7 @@ #include "HUDSounds.h" #include "Button.h" #include "Game.h" +#include "ContentBundle.h" // +----------------------------------------------------------------------+ @@ -25,8 +26,8 @@ NavSystem::NavSystem() : System(COMPUTER, 2, "Auto Nav System", 1, 1,1,1), autonav(0) { - name = Game::GetInstance()->GetText("sys.nav-system"); - abrv = Game::GetInstance()->GetText("sys.nav-system.abrv"); + name = ContentBundle::GetInstance()->GetText("sys.nav-system"); + abrv = ContentBundle::GetInstance()->GetText("sys.nav-system.abrv"); power_flags = POWER_WATTS | POWER_CRITICAL; } -- cgit v1.1