From 87eeea32c9b94a7bafb5dae782772c7425933ebf Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 15 Jul 2007 13:22:37 +0000 Subject: [PATCH] (show): Print tech level later, when we're done prompting for arguments. This also prints it only for units, when it's relevant. --- src/lib/commands/show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/show.c b/src/lib/commands/show.c index 655ee91c..3e40dc7f 100644 --- a/src/lib/commands/show.c +++ b/src/lib/commands/show.c @@ -70,7 +70,6 @@ show(void) } if (player->god) rlev = 1000; - pr("Printing for tech level '%d'\n", tlev); switch (*p) { case 'b': show_bridge(99999); @@ -121,6 +120,7 @@ show(void) "Build, stats, or capability data (b,s,c)? ", buf)) || !*p) return RET_SYN; + pr("Printing for tech level '%d'\n", tlev); if (*p == 'B' || *p == 'b') bfunc(tlev); else if (*p == 'C' || *p == 'c')