Simplify how plane cargo is tracked
Fold struct plist members bombs (used for bombing runs) and misc (used for everything else) into a single member load.
This commit is contained in:
parent
d3f5fee64b
commit
54b1c04686
7 changed files with 18 additions and 28 deletions
|
@ -124,8 +124,7 @@ struct plchrstr {
|
|||
|
||||
struct plist {
|
||||
struct emp_qelem queue; /* list of planes */
|
||||
int bombs; /* bombs carried for bombing mission */
|
||||
int misc; /* amount of random item being transported */
|
||||
int load; /* number of bombs or items carried */
|
||||
struct plchrstr *pcp; /* pointer to desc of plane */
|
||||
struct plnstr plane; /* struct plane */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue