From aaff0a430ba82d34ac257a6493cd4e98ccf883fe Mon Sep 17 00:00:00 2001 From: maj00r Date: Sun, 15 Nov 2026 23:22:50 +0100 Subject: [PATCH] fix(settings): the gfxrenderer word read in any case, as the starter reads it A hand-written "gfxrenderer Legacy" started the legacy renderer only because every unknown word did; with unknown words going to the full renderer it would have changed. The word is lowercased when read, as StarterNG's RenderEngineOf does, so Legacy, Simple or Full mean what they say. --- utilities/Globals.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utilities/Globals.cpp b/utilities/Globals.cpp index a2cb6f59d..bcd5037e2 100644 --- a/utilities/Globals.cpp +++ b/utilities/Globals.cpp @@ -321,6 +321,8 @@ bool global_settings::ConfigParseGraphics(cParser& Parser, const std::string& to if (token == "gfxrenderer") { ParseOne(Parser, GfxRenderer); + // read in any case, as the starter does: "Legacy" written by hand is the legacy renderer + GfxRenderer = ToLower(GfxRenderer); if (GfxRenderer == "full") GfxRenderer = "default";