/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* head.c: Print headlines of the Empire News
- *
+ *
* Known contributors to this file:
- *
+ *
*/
#include <config.h>
snxtitem_all(&nstr, EF_NEWS);
maxcnum = 0;
while (nxtitem(&nstr, &news)) {
+ if (!news.nws_vrb || CANT_HAPPEN(news.nws_vrb > N_MAX_VERB))
+ continue;
news_age = now - news.nws_when;
if (news_age > news_per)
continue;