mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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;
|
return;
|
||||||
|
|
||||||
// check the rare case that the oldest (to be overwritten) news item is open
|
// 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();
|
MoveToNexItem();
|
||||||
|
|
||||||
_forced_news = INVALID_NEWS;
|
_forced_news = INVALID_NEWS;
|
||||||
|
Loading…
Reference in New Issue
Block a user