mirror of https://github.com/OpenTTD/OpenTTD
parent
7e52f05a26
commit
35eae677bf
|
@ -2712,7 +2712,7 @@ const std::chrono::milliseconds TIME_BETWEEN_DOUBLE_CLICK(500); ///< Time betwee
|
|||
|
||||
static void ScrollMainViewport(int x, int y)
|
||||
{
|
||||
if (_game_mode != GM_MENU) {
|
||||
if (_game_mode != GM_MENU && _game_mode != GM_BOOTSTRAP) {
|
||||
Window *w = GetMainWindow();
|
||||
w->viewport->dest_scrollpos_x += ScaleByZoom(x, w->viewport->zoom);
|
||||
w->viewport->dest_scrollpos_y += ScaleByZoom(y, w->viewport->zoom);
|
||||
|
|
Loading…
Reference in New Issue