mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-13 06:21:29 -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
@@ -569,7 +569,6 @@ void parse_wi_flags(weapon_info *weaponp, flagset<Weapon::Info_Flags> wi_flags)
|
||||
weaponp->wi_flags = wi_flags;
|
||||
}
|
||||
|
||||
bool set_pierce = false;
|
||||
bool set_nopierce = false;
|
||||
|
||||
if (unparsed_or_special.size() > 0) {
|
||||
@@ -615,9 +614,6 @@ void parse_wi_flags(weapon_info *weaponp, flagset<Weapon::Info_Flags> wi_flags)
|
||||
Warning(LOCATION, "Illegal to have more than %d spawn types for one weapon.\nIgnoring weapon %s", MAX_SPAWN_TYPES_PER_WEAPON, weaponp->name);
|
||||
}
|
||||
}
|
||||
else if (!stricmp(NOX("pierce shields"), flag_text.c_str())) {
|
||||
set_pierce = true;
|
||||
}
|
||||
else if (!stricmp(NOX("no pierce shields"), flag_text.c_str())) {
|
||||
set_nopierce = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user