Use lnd_delete() in lnd_mess()

This commit is contained in:
Markus Armbruster 2010-06-20 09:00:42 +02:00
parent 2c4826e420
commit 18ce536041

View file

@ -653,9 +653,7 @@ lnd_mess(char *str, struct ulist *llp)
if (llp->mobil < -127)
llp->mobil = -127;
llp->unit.land.lnd_mobil = llp->mobil;
putland(llp->unit.land.lnd_uid, &llp->unit.land);
emp_remque((struct emp_qelem *)llp);
free(llp);
lnd_delete(llp);
}
static int