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/Sensor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Stars45/Sensor.cpp') diff --git a/Stars45/Sensor.cpp b/Stars45/Sensor.cpp index ea705e9..3a0f15e 100644 --- a/Stars45/Sensor.cpp +++ b/Stars45/Sensor.cpp @@ -25,6 +25,7 @@ #include "CombatUnit.h" #include "Game.h" +#include "ContentBundle.h" // +----------------------------------------------------------------------+ @@ -37,8 +38,8 @@ Sensor::Sensor() mode(STD), target(0), nsettings(0), range_index(0) { - name = Game::GetInstance()->GetText("sys.sensor"); - abrv = Game::GetInstance()->GetText("sys.sensor.abrv"); + name = ContentBundle::GetInstance()->GetText("sys.sensor"); + abrv = ContentBundle::GetInstance()->GetText("sys.sensor.abrv"); SetMode(mode); power_flags = POWER_WATTS; -- cgit v1.1