eliminate xml reading of produceexp chance

This commit is contained in:
Enno Rehling 2015-09-12 16:42:02 +02:00
parent 8a95ea0c00
commit d65e9aaf94
1 changed files with 0 additions and 3 deletions

View File

@ -2064,9 +2064,6 @@ static int parse_main(xmlDocPtr doc)
if (nodes->nodeNr > 0) {
xmlNodePtr node = nodes->nodeTab[0];
global.producexpchance =
(float)xml_fvalue(node, "learningbydoing", 1.0 / 3);
propValue = xmlGetProp(node, BAD_CAST "name");
if (propValue != NULL) {
global.gamename = _strdup((const char *)propValue);