From a46de3d997c5c38fe581e34f2f6f69964980f295 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 26 May 2006 19:32:29 +0000 Subject: [PATCH] Clean up rev. 1.44, 1.20 and 1.4. --- src/lib/commands/edit.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/lib/commands/edit.c b/src/lib/commands/edit.c index f4cbc138..d6edd0bf 100644 --- a/src/lib/commands/edit.c +++ b/src/lib/commands/edit.c @@ -266,7 +266,7 @@ prsect(struct sctstr *sect) pr("Location : %s\t", xyas(sect->sct_x, sect->sct_y, player->cnum)); pr("Distribution sector : %s\n", xyas(sect->sct_dist_x, sect->sct_dist_y, player->cnum)); - pr("Designation : %c\t New designation : %c\n", + pr("Designation : %c\tNew designation : %c\n", dchr[sect->sct_type].d_mnem, dchr[sect->sct_newtype].d_mnem); pr("own oo eff mob min gld frt oil urn wrk lty che ctg plg ptime fall avail\n"); pr(" o O e m i g f c u w l x X p t F a\n"); @@ -278,7 +278,7 @@ prsect(struct sctstr *sect) sect->sct_pstage, sect->sct_ptime, sect->sct_fallout, sect->sct_avail); - pr("Mines : %d\t", sect->sct_mines); + pr("Mines : %d\n", sect->sct_mines); pr("Road %% : %d\t", sect->sct_road); pr("Rail %% : %d\t", sect->sct_rail); pr("Defense %% : %d\n", sect->sct_defense); @@ -349,7 +349,6 @@ pr_land(struct lndstr *land) pr("Army : %c\n", land->lnd_army); pr("Fortification : %d\t", land->lnd_harden); pr("Fuel : %d\n", land->lnd_fuel); - count_land_planes(land); pr("Land unit : %d\n", land->lnd_land); pr("Ship : %d\t\t", land->lnd_ship); pr("Radius

: %d\n", land->lnd_rad_max); @@ -389,11 +388,9 @@ pr_ship(struct shpstr *ship) pr("Efficiency : %d\n", ship->shp_effic); pr("Mobility : %d\t\t", ship->shp_mobil); pr("Fleet : %c\n", ship->shp_fleet); - count_planes(ship); - count_units(ship); /* could depend on opt_FUEL - but a deity might want to set this up before enabling the option */ - pr("Fuel : %d\t\t\t", ship->shp_fuel); + pr("Fuel : %d\n", ship->shp_fuel); pr("Retreat path : '%s'\t\tRetreat Flags : %d\n", ship->shp_rpath, ship->shp_rflags); pr("Plague Stage : %d\t\t",ship->shp_pstage);