From 6b434ee376386e3b6d78488b4609781d65aa7094 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Tue, 15 Nov 2005 23:44:38 +0000 Subject: [PATCH] (cens, cens_hdr): Print the actual old_owner instead of just a star when different. This is change the format for the census output. --- src/lib/commands/cens.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/commands/cens.c b/src/lib/commands/cens.c index 448cfea3..a738f24a 100644 --- a/src/lib/commands/cens.c +++ b/src/lib/commands/cens.c @@ -90,7 +90,10 @@ cens(void) pr(" %c", n == 0 ? '.' : '0' + (n / 100)); n = sect.sct_dist[I_FOOD] % 1000; pr("%c ", n == 0 ? '.' : '0' + (n / 100)); - pr("%c", sect.sct_own != sect.sct_oldown ? '*' : ' '); + if (sect.sct_own != sect.sct_oldown) + pr("%3d", sect.sct_oldown); + else + pr(" "); pr("%5d", sect.sct_item[I_CIVIL]); pr("%5d", sect.sct_item[I_MILIT]); @@ -133,7 +136,7 @@ cens_hdr(void) pr("own "); pr(" sect eff "); pr("prd "); - pr("mob uf uf * civ mil uw food work avail "); + pr("mob uf uf old civ mil uw food work avail "); if (!player->god) pr("ter "); if (opt_FALLOUT)