forked from github/server
Merge pull request #175 from badgerman/develop
Fix keepitem flag in XML ("Menschen geben nichts ab")
This commit is contained in:
commit
25305d93cb
|
@ -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