Fix keepitem flag in XML ("Menschen geben nichts ab")

This commit is contained in:
Enno Rehling 2015-04-22 12:33:55 +02:00
parent 88d370a7b8
commit 30e4dc6cdc
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;