Remove an unused variable in fit_plane_off_land()

This commit is contained in:
Markus Armbruster 2008-03-03 20:09:26 +01:00
parent 66406d8385
commit 5a2e64ef1a

View file

@ -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--;