Mercurial > hg > openttd
changeset 12893:334cc3380d11 draft
(svn r17385) -Codechange: Removed some unneeded parentheses.
author | alberth <alberth@openttd.org> |
---|---|
date | Wed, 02 Sep 2009 19:57:22 +0000 |
parents | 2245b86757b7 |
children | 36fe71e3a957 |
files | src/news_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -310,7 +310,7 @@ if (tile1 != INVALID_TILE) ShowExtraViewPortWindow(tile1); if (tile2 != INVALID_TILE) ShowExtraViewPortWindow(tile2); } else { - if (((tile1 == INVALID_TILE) || !ScrollMainWindowToTile(tile1)) && (tile2 != INVALID_TILE)) { + if ((tile1 == INVALID_TILE || !ScrollMainWindowToTile(tile1)) && tile2 != INVALID_TILE) { ScrollMainWindowToTile(tile2); } }