overfly[sect.sct_own]++;
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);
}
if (!evaded) {
/* Are there ships owned by this country? */
if (nats[cn] != 0) {
/* Yes. */
- if (cn != 0)
+ if (cn != 0) {
PR(cn, "%s planes spotted over ships in %s\n",
cname(plane_owner), xyas(x, y, cn));
+ if (opt_HIDDEN)
+ setcont(cn, plane_owner, FOUND_FLY);
+ }
if (unfriendly[cn]) {
/* They are unfriendly too */
if (!gotilist[cn]) {
/* Are there units owned by this country? */
if (lnats[cn] != 0) {
/* Yes. */
- if (cn != 0)
+ if (cn != 0) {
PR(cn, "%s planes spotted over land units in %s\n",
cname(plane_owner), xyas(x, y, cn));
+ if (opt_HIDDEN)
+ setcont(cn, plane_owner, FOUND_FLY);
+ }
if (unfriendly[cn]) {
/* They are unfriendly too */
if (!gotilist[cn]) {