Don't store plane stats in struct plnstr
New pln_att(), pln_def(), pln_acc(), pln_range_max(), pln_load() replace the struct plnstr members with the same names. Make plane selectors att and def virtual.
This commit is contained in:
parent
d1a193ff07
commit
ffc5d0cfd7
15 changed files with 111 additions and 73 deletions
|
@ -783,7 +783,6 @@ build_plane(struct sctstr *sp, struct plchrstr *pp, short *vec, int tlev)
|
|||
plane.pln_opy = 0;
|
||||
plane.pln_radius = 0;
|
||||
plane.pln_range = UCHAR_MAX; /* will be adjusted by pln_set_tech() */
|
||||
plane.pln_range_max = plane.pln_range;
|
||||
plane.pln_wing = 0;
|
||||
plane.pln_ship = -1;
|
||||
plane.pln_land = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue