summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-09-02 19:57:22 +0000
committeralberth <alberth@openttd.org>2009-09-02 19:57:22 +0000
commit284b92f3e9551447e3d6064cf87501f7f7651cfa (patch)
tree669a74bdbc8dba5c667a709c8397e95ef633a16e /src
parenta8d768cf6ebb4fb11bae9f0dcf78e115b7f7db1a (diff)
downloadopenttd-284b92f3e9551447e3d6064cf87501f7f7651cfa.tar.xz
(svn r17385) -Codechange: Removed some unneeded parentheses.
Diffstat (limited to 'src')
-rw-r--r--src/news_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index e0d72f947..20419e549 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -310,7 +310,7 @@ struct NewsWindow : Window {
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);
}
}