mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-25 08:22:17 +00:00
Cleanup: simplify some boolean expressions
This commit is contained in:
+1
-2
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user