Skip to content

Commit 49ee006

Browse files
authored
Fix overlappig XSTRs (#6381)
The XSTR entry 1779 (strings.tbl) is used for two different texts: "Disabled" in shadows.cpp; "Toggle Auto Pilot" in controlsconfigcommon.cpp; "Disabled" is already assigned to XSTR 413. ATM I have this set to shadow's usage (even though 413 is related to Disabled ships). Alternatively I would be happy to use `"Off", 1693`, which is what the other graphic settings use (though the actual value in the code would still remain `Disabled` of course).
1 parent b734d60 commit 49ee006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/graphics/shadows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bool Shadow_quality_uses_mod_option = false;
3737
auto ShadowQualityOption = options::OptionBuilder<ShadowQuality>("Graphics.Shadows",
3838
std::pair<const char*, int>{"Shadow Quality", 1750},
3939
std::pair<const char*, int>{"The quality of the shadows", 1751})
40-
.values({{ShadowQuality::Disabled, {"Disabled", 1779}},
40+
.values({{ShadowQuality::Disabled, {"Disabled", 413}},
4141
{ShadowQuality::Low, {"Low", 1160}},
4242
{ShadowQuality::Medium, {"Medium", 1161}},
4343
{ShadowQuality::High, {"High", 1162}},

0 commit comments

Comments
 (0)