Codechange: Redefine ZOOM_LVL so that ZOOM_LVL_NORMAL is 1x zoom.

This matches expectations of what normal zoom means.
This commit is contained in:
Peter Nelson
2024-04-04 18:51:46 +01:00
committed by Peter Nelson
parent 9854553e10
commit 7572cfd103
13 changed files with 53 additions and 53 deletions

View File

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