From 520a485b16f13a417e78119e59ca0628a204cfc5 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 19 Dec 2005 18:09:35 +0000 Subject: [PATCH] production-chance ist falsch. --- src/common/kernel/xmlreader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/xmlreader.c b/src/common/kernel/xmlreader.c index 24910d5f6..c0ff9f42a 100644 --- a/src/common/kernel/xmlreader.c +++ b/src/common/kernel/xmlreader.c @@ -1599,7 +1599,7 @@ parse_terrains(xmlDocPtr doc) terrain->production[k].divisor = strdup((const char *)property); xmlFree(property); - terrain->production[k].chance = (float)xml_fvalue(node, "chance", 0); + terrain->production[k].chance = (float)xml_fvalue(node, "chance", 1.0); } } xmlXPathFreeObject(xpathChildren);