Fix making contact by spotting planes from sectors
ac_encounter() passed MAXNOC instead of the sector owner to setcont(),
and setcont() does nothing for such an argument. Screwed up from the
start, in commit 144c7cb5
, v4.2.22.
This commit is contained in:
parent
99cf705530
commit
ee1e0ab0e1
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ ac_encounter(struct emp_qelem *bomb_list, struct emp_qelem *esc_list,
|
|||
PR(sect.sct_own, "%s planes spotted over %s\n",
|
||||
cname(plane_owner), xyas(x, y, sect.sct_own));
|
||||
if (opt_HIDDEN)
|
||||
setcont(cn, plane_owner, FOUND_FLY);
|
||||
setcont(sect.sct_own, plane_owner, FOUND_FLY);
|
||||
}
|
||||
|
||||
if (!evaded) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue