diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2023-04-19 18:05:59 -0400 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2023-04-20 00:09:17 +0200 |
commit | b019e0b5f760959363afce134cf1e15efa658ed1 (patch) | |
tree | 001d586604326286c62acc30803cce0646e9b346 /NorthstarDLL/limits.cpp | |
parent | b536e88fdba575e96bc7e69964d7e96b73fa941b (diff) | |
download | NorthstarLauncher-1.12.X.tar.gz NorthstarLauncher-1.12.X.zip |
Fix parsing string ConVar/ConCommand.Flags from `mod.json` (#450)v1.12.7-rc3v1.12.7-rc2v1.12.71.12.X
Fix parsing string ConVar/ConCommand.Flags from mod.json
The ParseConVarFlagsString function introduced in 64100065b55f79e76542ba689545c60e6fb0dcef (#373)
is utterly broken. It only parses the first flag, logs misleading
warnings, has an undefined return value in some codepaths, and is
somewhat convoluted.
Luckily, this doesn't appear to affect most (if not all) existing mods,
as they all seem to be using integer values for Flags, which is
taken as-is.
https://github.com/search?q=path%3A**%2Fmod.json+ConVars+Flags&type=code
Diffstat (limited to 'NorthstarDLL/limits.cpp')
0 files changed, 0 insertions, 0 deletions