From 0052edae47d1e6ae613497c524719eff5838f52a Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 18 Feb 2022 23:54:30 +0100 Subject: Switched to use GetIntance for Game instead of static methods --- Stars45/Farcaster.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/Farcaster.cpp') diff --git a/Stars45/Farcaster.cpp b/Stars45/Farcaster.cpp index 85220bb..33de64c 100644 --- a/Stars45/Farcaster.cpp +++ b/Stars45/Farcaster.cpp @@ -33,8 +33,8 @@ Farcaster::Farcaster(double cap, double rate) ship(0), dest(0), jumpship(0), cycle_time(10), active_state(QuantumDrive::ACTIVE_READY), warp_fov(1), no_dest(false) { - name = Game::GetText("sys.farcaster"); - abrv = Game::GetText("sys.farcaster.abrv"); + name = Game::GetInstance()->GetText("sys.farcaster"); + abrv = Game::GetInstance()->GetText("sys.farcaster.abrv"); } // +----------------------------------------------------------------------+ -- cgit v1.1