summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-06-16 23:21:21 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-17 16:18:30 +0200
commit281a65b3e17310d07458652a3f6cba55aff59dc0 (patch)
treee3f06df00a9f8fc074f863b230980f2a11b066e4 /src/news_gui.cpp
parent357af686dc5e0a0085da5c42639abe83caebe6c3 (diff)
downloadopenttd-281a65b3e17310d07458652a3f6cba55aff59dc0.tar.xz
Cleanup: simplify some boolean expressions
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 731eb95c2..5c72f8741 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -639,8 +639,7 @@ static bool ReadyForNextTickerItem()
/* Ticker message
* Check if the status bar message is still being displayed? */
- if (IsNewsTickerShown()) return false;
- return true;
+ return !IsNewsTickerShown();
}
/**