(svn r842) -Fix: [ 985925 ] Start/stop flag in train depots always works, regardless of the horizontal scroll position

pull/155/head
tron 20 years ago
parent 97c533eb9c
commit 12d6d679b0

@ -372,7 +372,7 @@ static int GetVehicleFromTrainDepotWndPt(Window *w, int x, int y, GetDepotVehicl
v->tile == w->window_number &&
v->u.rail.track == 0x80 &&
--row < 0) {
area_x += w->hscroll.pos;
if (area_x >= 0) area_x += w->hscroll.pos;
goto found_it;
}
}

Loading…
Cancel
Save