forked from github/server
Fix keepitem flag in XML ("Menschen geben nichts ab")
This commit is contained in:
parent
88d370a7b8
commit
30e4dc6cdc
|
@ -1693,7 +1693,7 @@ static int parse_races(xmlDocPtr doc)
|
||||||
if (xml_bvalue(node, "irongolem", false))
|
if (xml_bvalue(node, "irongolem", false))
|
||||||
rc->flags |= RCF_IRONGOLEM;
|
rc->flags |= RCF_IRONGOLEM;
|
||||||
|
|
||||||
if (!xml_bvalue(node, "keepitem", false))
|
if (xml_bvalue(node, "keepitem", false))
|
||||||
rc->ec_flags |= ECF_KEEP_ITEM;
|
rc->ec_flags |= ECF_KEEP_ITEM;
|
||||||
if (xml_bvalue(node, "giveperson", false))
|
if (xml_bvalue(node, "giveperson", false))
|
||||||
rc->ec_flags |= GIVEPERSON;
|
rc->ec_flags |= GIVEPERSON;
|
||||||
|
|
Loading…
Reference in New Issue