diff --git a/src/console/c_cmds.cpp b/src/console/c_cmds.cpp index b2560cf74..1ea9fe771 100644 --- a/src/console/c_cmds.cpp +++ b/src/console/c_cmds.cpp @@ -702,7 +702,7 @@ UNSAFE_CCMD(save) { if ((primaryLevel->vkdflags & VKDLEVELFLAG_NOUSERSAVE)) { - Printf("%s\n", GStrings("SAVEDEAD")); + Printf("%s\n", GStrings.GetString("SAVEDEAD")); return; } diff --git a/src/launcher/playgamepage.cpp b/src/launcher/playgamepage.cpp index 5f6f7376e..55d777b73 100644 --- a/src/launcher/playgamepage.cpp +++ b/src/launcher/playgamepage.cpp @@ -63,11 +63,11 @@ int PlayGamePage::GetSelectedGame() void PlayGamePage::UpdateLanguage() { - SelectLabel->SetText(GStrings("PICKER_SELECT")); + SelectLabel->SetText(GStrings.GetString("PICKER_SELECT")); #if defined(EXTRAARGS) - ParametersLabel->SetText(GStrings("PICKER_ADDPARM")); + ParametersLabel->SetText(GStrings.GetString("PICKER_ADDPARM")); #endif - FString welcomeText = GStrings("PICKER_WELCOME"); + FString welcomeText = GStrings.GetString("PICKER_WELCOME"); welcomeText.Substitute("%s", GAMENAME); WelcomeLabel->SetText(welcomeText.GetChars()); } diff --git a/src/maploader/udmf.cpp b/src/maploader/udmf.cpp index 42bf07384..ab2c939ed 100644 --- a/src/maploader/udmf.cpp +++ b/src/maploader/udmf.cpp @@ -797,7 +797,6 @@ public: break; case NAME_lm_suncolor: - case NAME_lm_sampledist: CHECK_N(Zd | Zdt) if (CheckInt(key) < 0 || CheckInt(key) > 0xFFFFFF) { diff --git a/src/menu/doommenu.cpp b/src/menu/doommenu.cpp index 1ede5ea42..08bf38f42 100644 --- a/src/menu/doommenu.cpp +++ b/src/menu/doommenu.cpp @@ -253,7 +253,7 @@ bool M_SetSpecialMenu(FName& menu, int param) if ((primaryLevel->vkdflags & VKDLEVELFLAG_NOUSERSAVE)) { - M_StartMessage(GStrings("SAVEDEAD"), 1); + M_StartMessage(GStrings.GetString("SAVEDEAD"), 1); return false; }