Remove an unused variable in fit_plane_off_land()
This commit is contained in:
parent
66406d8385
commit
5a2e64ef1a
1 changed files with 0 additions and 2 deletions
|
@ -933,8 +933,6 @@ fit_plane_on_land(struct plnstr *pp, struct lndstr *lp)
|
|||
static void
|
||||
fit_plane_off_land(struct plnstr *pp, struct lndstr *lp)
|
||||
{
|
||||
struct plchrstr *pcp = plchr + pp->pln_type;
|
||||
|
||||
if (CANT_HAPPEN(lp->lnd_nxlight == 0))
|
||||
lp->lnd_nxlight = 1;
|
||||
lp->lnd_nxlight--;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue