Fix launch to require petrol for launching satellites
launch_sat() failed to call msl_equip(). Change msl_equip() to take the mission character as argument, because the old hardcoded 'p' isn't appropriate for satellites. Best fit for satellites is 'r' for reconnaissance, but mission_pln_equip() doesn't accept that (pln_equip() does). Fix that as well.
This commit is contained in:
parent
ee863c5d25
commit
15fab1c9a5
4 changed files with 10 additions and 5 deletions
|
@ -1036,6 +1036,7 @@ mission_pln_equip(struct plist *plp, struct ichrstr *ip, int flags,
|
|||
needed = load;
|
||||
}
|
||||
break;
|
||||
case 'r': /* reconnaissance */
|
||||
case 0: /* plane interception */
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue