From 69a4df909c205fcd55e79f7599c02f960a68507b Mon Sep 17 00:00:00 2001 From: dominik Date: Sat, 8 Jan 2005 09:09:11 +0000 Subject: [PATCH] (svn r1423) Fix: [ 1084074 ] Delayed news messages --- news_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news_gui.c b/news_gui.c index a09c59e343..59840f8142 100644 --- a/news_gui.c +++ b/news_gui.c @@ -219,7 +219,7 @@ void AddNewsItem(StringID string, uint32 flags, uint data_a, uint data_b) return; // check the rare case that the oldest (to be overwritten) news item is open - if (_oldest_news == _current_news || _oldest_news == _forced_news) + if (_total_news==MAX_NEWS && (_oldest_news == _current_news || _oldest_news == _forced_news)) MoveToNexItem(); _forced_news = INVALID_NEWS;