forked from github/server
there is no require element for weapons. oops.
This commit is contained in:
parent
2579bf71b5
commit
a8f6f1a40c
1 changed files with 0 additions and 4 deletions
|
@ -312,10 +312,6 @@ static void XMLCALL start_weapon(parseinfo *pi, const XML_Char *el, const XML_Ch
|
||||||
if (xml_strcmp(type, "missile_target") == 0) {
|
if (xml_strcmp(type, "missile_target") == 0) {
|
||||||
flags |= WMF_MISSILE_TARGET;
|
flags |= WMF_MISSILE_TARGET;
|
||||||
}
|
}
|
||||||
else if (xml_strcmp(type, "require") == 0) {
|
|
||||||
/* does require even work? */
|
|
||||||
flags = flags;
|
|
||||||
}
|
|
||||||
else if (xml_strcmp(type, "damage") == 0) {
|
else if (xml_strcmp(type, "damage") == 0) {
|
||||||
flags |= WMF_DAMAGE;
|
flags |= WMF_DAMAGE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue