mirror of https://github.com/OpenTTD/OpenTTD
(svn r17385) -Codechange: Removed some unneeded parentheses.
parent
a8d768cf6e
commit
284b92f3e9
|
@ -310,7 +310,7 @@ struct NewsWindow : Window {
|
||||||
if (tile1 != INVALID_TILE) ShowExtraViewPortWindow(tile1);
|
if (tile1 != INVALID_TILE) ShowExtraViewPortWindow(tile1);
|
||||||
if (tile2 != INVALID_TILE) ShowExtraViewPortWindow(tile2);
|
if (tile2 != INVALID_TILE) ShowExtraViewPortWindow(tile2);
|
||||||
} else {
|
} else {
|
||||||
if (((tile1 == INVALID_TILE) || !ScrollMainWindowToTile(tile1)) && (tile2 != INVALID_TILE)) {
|
if ((tile1 == INVALID_TILE || !ScrollMainWindowToTile(tile1)) && tile2 != INVALID_TILE) {
|
||||||
ScrollMainWindowToTile(tile2);
|
ScrollMainWindowToTile(tile2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue