From 297ee5eab01a61d2e372522e5bff5a949bceabe6 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 29 Jan 2006 17:13:25 +0000 Subject: [PATCH] (news): Fix rev. 1.13: fail command before printing headlines. --- src/lib/commands/news.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/news.c b/src/lib/commands/news.c index eb356fcc..75cd6831 100644 --- a/src/lib/commands/news.c +++ b/src/lib/commands/news.c @@ -71,7 +71,6 @@ news(void) return RET_SYN; memset(page_has_news, 0, sizeof(page_has_news)); memset(sectors_taken, 0, sizeof(sectors_taken)); - (void)head(); (void)time(&now); natp = getnatp(player->cnum); then = natp->nat_newstim; @@ -89,6 +88,7 @@ news(void) then = now - delta; } natp->nat_newstim = now; + head(); pr("\nThe details of Empire news since %s", ctime(&then)); while (nxtitem(&nstr, &nws)) { if (nws.nws_when < then)