Fix oops on escort, recon, and launch of satellite
Broken in commit 528df9ac
, v4.3.23. pln_equip() recovered fine.
This commit is contained in:
parent
73e25ff21e
commit
9b62b35424
1 changed files with 2 additions and 0 deletions
|
@ -681,6 +681,8 @@ pln_equip(struct plist *plp, struct ichrstr *ip, char mission)
|
|||
break;
|
||||
case 'r': /* reconnaissance */
|
||||
case 'e': /* escort */
|
||||
load = 0;
|
||||
break;
|
||||
case 'i': /* missile interception */
|
||||
if (CANT_HAPPEN(!(pcp->pl_flags & P_M)
|
||||
|| !(pcp->pl_flags & (P_N | P_O))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue