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/Computer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Stars45/Computer.cpp') diff --git a/Stars45/Computer.cpp b/Stars45/Computer.cpp index a4b9564..2687bde 100644 --- a/Stars45/Computer.cpp +++ b/Stars45/Computer.cpp @@ -14,6 +14,7 @@ #include "MemDebug.h" #include "Computer.h" #include "Game.h" +#include "ContentBundle.h" // +----------------------------------------------------------------------+ @@ -26,7 +27,7 @@ static int computer_value[] = { Computer::Computer(int comp_type, const char* comp_name) : System(COMPUTER, comp_type, comp_name, 1, 1, 1, 1) { - SetAbbreviation(Game::GetInstance()->GetText("sys.computer.abrv")); + SetAbbreviation(ContentBundle::GetInstance()->GetText("sys.computer.abrv")); power_flags = POWER_WATTS | POWER_CRITICAL; if (subtype == FLIGHT) { -- cgit v1.1