contact: Change in_contact()'s first parameter to natid

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-10-29 09:06:12 +02:00
parent c8e7548f24
commit d35303d426
9 changed files with 19 additions and 20 deletions

View file

@ -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;
}