When building tunnels, open new viewports at the far end of the tunnel.

Loosely based on https://www.tt-forums.net/viewtopic.php?f=33&t=72639
This commit is contained in:
Jonathan G Rennison
2016-09-24 22:19:01 +01:00
parent 675b88b391
commit 3af2f0e923
4 changed files with 14 additions and 5 deletions

View File

@@ -465,7 +465,7 @@ struct BuildRoadToolbarWindow : Window {
break;
case WID_ROT_BUILD_TUNNEL:
HandlePlacePushButton(this, WID_ROT_BUILD_TUNNEL, SPR_CURSOR_ROAD_TUNNEL, HT_SPECIAL);
HandlePlacePushButton(this, WID_ROT_BUILD_TUNNEL, SPR_CURSOR_ROAD_TUNNEL, HT_SPECIAL | HT_TUNNEL);
this->last_started_action = widget;
break;