(ltend): Fix printing of land unit in diagnostic message.
This commit is contained in:
parent
ff0d9dede6
commit
4474c7b5c1
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ ltend(void)
|
||||||
ontarget = target.lnd_item[ip->i_vtype];
|
ontarget = target.lnd_item[ip->i_vtype];
|
||||||
if (ontarget == 0 && amt < 0) {
|
if (ontarget == 0 && amt < 0) {
|
||||||
pr("No %s on %s\n",
|
pr("No %s on %s\n",
|
||||||
ip->i_name, prship((struct shpstr *)&target));
|
ip->i_name, prland(&target));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
lbase = &lchr[(int)target.lnd_type];
|
lbase = &lchr[(int)target.lnd_type];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue