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/ShipDesign.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Stars45/ShipDesign.cpp') diff --git a/Stars45/ShipDesign.cpp b/Stars45/ShipDesign.cpp index 55e8d41..f110f0f 100644 --- a/Stars45/ShipDesign.cpp +++ b/Stars45/ShipDesign.cpp @@ -34,6 +34,7 @@ #include "Component.h" #include "Game.h" +#include "ContentBundle.h" #include "Solid.h" #include "Skin.h" #include "Sprite.h" @@ -1513,7 +1514,7 @@ ShipDesign::ParseShip(TermDef* def) } if (description.length()) - description = Game::GetInstance()->GetText(description); + description = ContentBundle::GetInstance()->GetText(description); } // +--------------------------------------------------------------------+ -- cgit v1.1