Fix spy to make contact when spy succeeds due to recon unit
If you have a recon unit, you get a spy report whether the spy is caught or not. But you made contact only when he wasn't caught. Fix that.
This commit is contained in:
parent
3e251b474f
commit
ee6927122c
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ spy(void)
|
|||
dchr[dsect.sct_type].d_mnem, 0);
|
||||
prunits(dsect.sct_x, dsect.sct_y);
|
||||
prplanes(dsect.sct_x, dsect.sct_y);
|
||||
if (opt_HIDDEN)
|
||||
setcont(player->cnum, own, FOUND_SPY);
|
||||
}
|
||||
}
|
||||
/* subtract any military if necessary */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue