Always connect to the first element in NET_C. (nw)

This commit is contained in:
couriersud 2015-04-26 16:00:37 +02:00
parent a31dfcedb8
commit 5c516aff00

View File

@ -281,11 +281,9 @@ void netlist_setup_t::register_link_arr(const pstring &terms)
nl_util::pstring_list list = nl_util::split(terms,", ");
if (list.count() < 2)
netlist().error("You must pass at least 2 terminals to NET_C");
pstring last = list[0];
for (int i = 1; i < list.count(); i++)
{
register_link(last, list[i]);
last = list[i];
register_link(list[0], list[i]);
}
}