forked from github/server
smaller leakage (xml property, no wormhole)
This commit is contained in:
parent
71ee47751a
commit
b59489466d
|
@ -185,6 +185,7 @@ xml_readconstruction(xmlXPathContextPtr xpath, xmlNodePtr * nodeTab, int nodeNr,
|
|||
if (property!=NULL) {
|
||||
pf_generic foo = get_function((const char*)property);
|
||||
a_add(&con->attribs, make_skillmod(NOSKILL, SMF_PRODUCTION, (skillmod_fun)foo, 1.0, 0));
|
||||
xmlFree(property);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -172,6 +172,8 @@ create_wormholes(void)
|
|||
r=r->next;
|
||||
}
|
||||
|
||||
if (count<2) return;
|
||||
|
||||
match = (region**)malloc(sizeof(region*) * count);
|
||||
rptr = rlist;
|
||||
while (i!=count) {
|
||||
|
|
Loading…
Reference in New Issue