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/RadioTraffic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/RadioTraffic.cpp') diff --git a/Stars45/RadioTraffic.cpp b/Stars45/RadioTraffic.cpp index 8db561d..2ce5acb 100644 --- a/Stars45/RadioTraffic.cpp +++ b/Stars45/RadioTraffic.cpp @@ -159,7 +159,7 @@ RadioTraffic::TranslateVox(const char* phrase) Text vox = "vox."; vox += phrase; vox.toLower(); - vox = Game::GetText(vox); + vox = Game::GetInstance()->GetText(vox); if (vox.contains("vox.")) // failed to translate return Text(phrase); // return the original text -- cgit v1.1