From 30e4dc6cdca5ad52c54fa1157ea1a3fec47440cb Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 22 Apr 2015 12:33:55 +0200 Subject: [PATCH] Fix keepitem flag in XML ("Menschen geben nichts ab") --- src/kernel/xmlreader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/xmlreader.c b/src/kernel/xmlreader.c index ae9cf9c43..cd0969311 100644 --- a/src/kernel/xmlreader.c +++ b/src/kernel/xmlreader.c @@ -1693,7 +1693,7 @@ static int parse_races(xmlDocPtr doc) if (xml_bvalue(node, "irongolem", false)) rc->flags |= RCF_IRONGOLEM; - if (!xml_bvalue(node, "keepitem", false)) + if (xml_bvalue(node, "keepitem", false)) rc->ec_flags |= ECF_KEEP_ITEM; if (xml_bvalue(node, "giveperson", false)) rc->ec_flags |= GIVEPERSON;