mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 17:46:53 -10:00
Fixes an issue when parsing the weapon info flagset.
This commit is contained in:
1 parent
3e6022b000
commit
444ae43aa4
2 files changed
+2
-5
No files matched your search
@@ -160,7 +160,8 @@ int parse_string_flag_list(Flagset& dest, flag_def_list_new<T> defs [], size_t n
|
||||
for (size_t j = 0; j < n_defs; j++)
|
||||
{
|
||||
if (!stricmp(slp[i], defs[j].name)) {
|
||||
dest.set(defs[j].def);
|
||||
if (defs[j].def != T::NUM_VALUES) //Needed due to a few special cases amongst the weapon info flagset
|
||||
dest.set(defs[j].def);
|
||||
|
||||
if (!defs[j].is_special)
|
||||
string_parsed = true;
|
||||
|
||||
Reference in new issue
Block a user