mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r1423) Fix: [ 1084074 ] Delayed news messages
This commit is contained in:
parent
3f7da833d1
commit
69a4df909c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue