Bug Tracker – Bug 1308

Setting a language overrides DeHackEd string replacements

Last modified: 2020-04-13 23:31:36 UTC
Bug 1308 - Setting a language overrides DeHackEd string replacements
Summary: Setting a language overrides DeHackEd string replacements
Status: NEW
Alias: None
Product: Odamex
Classification: Unclassified
Component: Server & Client (show other bugs)
Version: 0.8.x
Hardware: All Other
: P5 enhancement
Assignee: Odamex Bug Reporter
URL:
Depends on:
Blocks:
 
Reported: 2020-04-13 23:31 UTC by Alexander Mayfield
Modified: 2020-04-13 23:31 UTC (History)
0 users

See Also:

Attachments

Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mayfield 2020-04-13 23:31:36 UTC
Any string replacements that are done because of DeHackEd are completely blown away when the GStrings table is reset, like when a language is set via console.  This is a problem, because the language is set when Odamex is started, which has the effect of preventing string replacements from working at all.  The observed behavior of GZDoom is that DeHackEd string replacements always take priority over LANGUAGE strings, even LANGUAGE strings supplied in the same PWAD.