]> git.pond.sub.org Git - empserver/commitdiff
(ltend): Fix printing of land unit in diagnostic message.
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 30 Aug 2005 17:38:27 +0000 (17:38 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 30 Aug 2005 17:38:27 +0000 (17:38 +0000)
src/lib/commands/lten.c

index 8fd2d5fe6e1d8c83edfc5c00a63fca40e3128142..b7f0fc1cf3fd9340b5176bed6e7e2dbf946c3025 100644 (file)
@@ -112,7 +112,7 @@ ltend(void)
            ontarget = target.lnd_item[ip->i_vtype];
            if (ontarget == 0 && amt < 0) {
                pr("No %s on %s\n",
-                  ip->i_name, prship((struct shpstr *)&target));
+                  ip->i_name, prland(&target));
                continue;
            }
            lbase = &lchr[(int)target.lnd_type];