diff -r 11880cbbc9f6 -r afafed841c6d news_gui.c
--- a/news_gui.c Tue Oct 17 17:59:41 2006 +0000
+++ b/news_gui.c Tue Oct 17 18:15:35 2006 +0000
@@ -235,8 +235,7 @@
* @param data_b news-specific value based on news type
* @note flags exists of 4 byte-sized extra parameters.
* 1. 0 - 7 display_mode, any of the NewsMode enums (NM_)
- * 2. 8 - 15 news flags, any of the NewsFlags enums (NF_) NF_NOEXPIRE and
- * NF_INCOLOR are set automatically if needed
+ * 2. 8 - 15 news flags, any of the NewsFlags enums (NF_) NF_INCOLOR are set automatically if needed
* 3. 16 - 23 news category, any of the NewsType enums (NT_)
* 4. 24 - 31 news callback function, any of the NewsCallback enums (DNC_)
* If the display mode is NM_CALLBACK special news is shown and parameter
@@ -276,7 +275,7 @@
ni->string_id = string;
ni->display_mode = (byte)flags;
- ni->flags = (byte)(flags >> 8) | NF_NOEXPIRE;
+ ni->flags = (byte)(flags >> 8);
// show this news message in color?
if (_cur_year >= _patches.colored_news_year)
@@ -384,7 +383,7 @@
Window *w;
SoundFx sound;
int top;
- ni->flags &= ~(NF_NOEXPIRE | NF_FORCE_BIG);
+ ni->flags &= ~NF_FORCE_BIG;
ni->duration = 555;
sound = _news_sounds[ni->type];
@@ -526,7 +525,7 @@
if (_forced_news != INVALID_NEWS) {
NewsItem *ni = &_news_items[_forced_news];
ni->duration = 555;
- ni->flags |= NF_NOEXPIRE | NF_FORCE_BIG;
+ ni->flags |= NF_FORCE_BIG;
DeleteWindowById(WC_NEWS_WINDOW, 0);
ShowNewspaper(ni);
}