(agecontact): Remove the opt_LOSE_CONTACT, the calling
procedure update_main() already has opt_LOSE_CONTACT check.
This commit is contained in:
parent
09b2530d97
commit
974af7130c
1 changed files with 3 additions and 5 deletions
|
@ -121,13 +121,11 @@ agecontact(struct natstr *np)
|
|||
{
|
||||
int them;
|
||||
|
||||
if (opt_LOSE_CONTACT) {
|
||||
for (them = 1; them < MAXNOC; ++them) {
|
||||
if (them != np->nat_cnum && np->nat_contact[them]) {
|
||||
--np->nat_contact[them];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue