mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Sign window: Ctrl-click sign to open extra viewport at sign coordinates
This commit is contained in:
parent
7b26ec91c6
commit
3717b5b934
@ -236,7 +236,11 @@ struct SignListWindow : Window, SignList {
|
||||
if (it == this->signs.end()) return;
|
||||
|
||||
const Sign *si = *it;
|
||||
ScrollMainWindowToTile(TileVirtXY(si->x, si->y));
|
||||
if (_ctrl_pressed) {
|
||||
ShowExtraViewportWindow(TileVirtXY(si->x, si->y));
|
||||
} else {
|
||||
ScrollMainWindowToTile(TileVirtXY(si->x, si->y));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user