From a8f6f1a40c690c989a3f852e110fca4d46f17498 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 29 Apr 2018 20:23:41 +0200 Subject: [PATCH] there is no require element for weapons. oops. --- src/exparse.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/exparse.c b/src/exparse.c index 7a337b023..c98d28d6e 100644 --- a/src/exparse.c +++ b/src/exparse.c @@ -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) { flags |= WMF_MISSILE_TARGET; } - else if (xml_strcmp(type, "require") == 0) { - /* does require even work? */ - flags = flags; - } else if (xml_strcmp(type, "damage") == 0) { flags |= WMF_DAMAGE; }