summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Sensor.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-02-23 23:36:37 +0100
committerAki <please@ignore.pl>2022-02-23 23:36:37 +0100
commit0da933a0146a0689546b21231e14f2dfc2bc14e8 (patch)
treeb917762280e2094d77fae2a607d6ad3151174fce /Stars45/Sensor.cpp
parent8b778dda61c45f5d7a4dc416478c42ff4aa1de7f (diff)
downloadstarshatter-0da933a0146a0689546b21231e14f2dfc2bc14e8.zip
starshatter-0da933a0146a0689546b21231e14f2dfc2bc14e8.tar.gz
starshatter-0da933a0146a0689546b21231e14f2dfc2bc14e8.tar.bz2
Switched to use ContentBundle's GetText
Diffstat (limited to 'Stars45/Sensor.cpp')
-rw-r--r--Stars45/Sensor.cpp5
1 files changed, 3 insertions, 2 deletions
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;