Merge pull request #175 from badgerman/develop

Fix keepitem flag in XML ("Menschen geben nichts ab")
This commit is contained in:
Enno Rehling 2015-04-22 12:39:32 +02:00
commit 25305d93cb
1 changed files with 1 additions and 1 deletions

View File

@ -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;