(L_XLIGHT, lchr[], land_chr_flags[], take_plane_off_land,
put_plane_on_land, load_plane_land, can_fly): Remove L_XLIGHT flag and replace with checks of lnd_maxlight. Closes #758459.
This commit is contained in:
parent
cf384676e8
commit
e28c14f023
6 changed files with 6 additions and 16 deletions
|
@ -821,7 +821,7 @@ load_plane_land(struct sctstr *sectp, struct lndstr *lp, int noisy,
|
|||
s_char prompt[512];
|
||||
s_char buf[1024];
|
||||
|
||||
if (!(lchr[(int)lp->lnd_type].l_flags & L_XLIGHT)) {
|
||||
if (!lp->lnd_maxlight) {
|
||||
if (noisy)
|
||||
pr("%s cannot carry extra-light planes.\n", prland(lp));
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue