contact: Change in_contact()'s first parameter to natid
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
c8e7548f24
commit
d35303d426
9 changed files with 19 additions and 20 deletions
|
@ -252,7 +252,7 @@ share_incr(double res[], double tech[])
|
|||
if (other->nat_stat != STAT_ACTIVE)
|
||||
continue;
|
||||
if (opt_HIDDEN) {
|
||||
if (!in_contact(np, j))
|
||||
if (!in_contact(i, j))
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue