forked from mirror/OpenTTD
(svn r842) -Fix: [ 985925 ] Start/stop flag in train depots always works, regardless of the horizontal scroll position
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user