X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=src%2Flib%2Fsubs%2Funitsub.c;h=1cb156cd96a5cffad1649e012320b5aeaedc085c;hp=283425a93d4d93d70f6fe63170633a2fed11bda4;hb=80a2fdc8ffe13bc0f33fea14f559e5b57bbde50e;hpb=16d00ae7bf09e6e4c5bcb38a4961272adfbb2ae3 diff --git a/src/lib/subs/unitsub.c b/src/lib/subs/unitsub.c index 283425a93..1cb156cd9 100644 --- a/src/lib/subs/unitsub.c +++ b/src/lib/subs/unitsub.c @@ -77,7 +77,7 @@ unit_list(struct emp_qelem *unit_list) return; if (type == EF_LAND) - pr("lnd# land type x,y a eff sh gun xl mu tech retr\n"); + pr("lnd# land type x,y a eff mil sh gun xl ln mu tech retr\n"); else pr("shp# ship type x,y fl eff mil sh gun pn he xl ln mob tech\n"); @@ -95,9 +95,10 @@ unit_list(struct emp_qelem *unit_list) pr("%1.1s", &unit->group); pr("%4d%%", unit->effic); if (type == EF_LAND) { + pr("%4d", lnd->lnd_item[I_MILIT]); pr("%4d", lnd->lnd_item[I_SHELL]); pr("%4d", lnd->lnd_item[I_GUN]); - pr("%3d", lnd_nxlight(lnd)); + pr("%3d%3d", lnd_nxlight(lnd), lnd_nland(lnd)); } else { pr("%4d", shp->shp_item[I_MILIT]); pr("%4d", shp->shp_item[I_SHELL]);