]> git.pond.sub.org Git - empserver/commitdiff
(pln_dropoff): The previous revision screwed up output; fix.
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 4 Mar 2004 15:08:00 +0000 (15:08 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 4 Mar 2004 15:08:00 +0000 (15:08 +0000)
src/lib/subs/plnsub.c

index 5dcdb62af3cfe837cda35ab1aeb16df41ca1d5b2..3db372f0c0470ecdc1bb9323413fa706ad44dd9a 100644 (file)
@@ -254,6 +254,7 @@ pln_dropoff(struct emp_qelem *list, struct ichrstr *ip, coord tx, coord ty,
            amt = max - there;
            there = max;
        }
+       pr("%d %s landed safely", amt, ip->i_name);
        if (type == EF_SECTOR) {
            struct sctstr *sectp = (struct sctstr *)ptr;
            sectp->sct_item[ip->i_vtype] = there;
@@ -272,7 +273,6 @@ pln_dropoff(struct emp_qelem *list, struct ichrstr *ip, coord tx, coord ty,
            pr(" on carrier #%d\n", ship->shp_uid);
            putship(ship->shp_uid, ship);
        }
-       pr("%d %s landed safely", amt, ip->i_name);
     }
 }