Use lnd_delete() in lnd_mess()
This commit is contained in:
parent
2c4826e420
commit
18ce536041
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue