Allow following vehicles at all non-map zoom levels

This commit is contained in:
Jonathan G Rennison 2021-03-05 19:57:14 +00:00
parent 70f3993a55
commit 1c51b7253f

View File

@ -3749,7 +3749,7 @@ public:
ShowExtraViewportWindow(TileVirtXY(v->x_pos, v->y_pos));
} else {
const Window *mainwindow = FindWindowById(WC_MAIN_WINDOW, 0);
if (click_count > 1 && mainwindow->viewport->zoom <= ZOOM_LVL_OUT_4X) {
if (click_count > 1 && mainwindow->viewport->zoom < ZOOM_LVL_DRAW_MAP) {
/* main window 'follows' vehicle */
mainwindow->viewport->follow_vehicle = v->index;
} else {