some cleanup

This commit is contained in:
Enno Rehling 2012-05-09 13:02:08 -07:00
parent c22f49ec36
commit c41d185cd6
1 changed files with 1 additions and 4 deletions

View File

@ -1870,10 +1870,7 @@ static int parse_races(xmlDocPtr doc)
propValue = xmlGetProp(node, BAD_CAST "race");
assert(propValue != NULL);
frc = rc_find((const char *)propValue);
if (frc == NULL) {
/* log_error(("%s not registered, is familiar for %s\n", */
/* (const char*)propValue, rc->_name[0])); */
/* assert(frc!=NULL); */
if (!frc) {
frc = rc_add(rc_new((const char *)propValue));
}
if (xml_bvalue(node, "default", false)) {