# HG changeset patch # User tron # Date 1101585233 0 # Node ID b1e18b1e480eeea0650436d139c34a5a8207fa81 # Parent 035c53a7da9457a061e08b864dc584ffebb8ccbe (svn r842) -Fix: [ 985925 ] Start/stop flag in train depots always works, regardless of the horizontal scroll position diff -r 035c53a7da94 -r b1e18b1e480e train_gui.c --- a/train_gui.c Fri Nov 26 22:29:02 2004 +0000 +++ b/train_gui.c Sat Nov 27 19:53:53 2004 +0000 @@ -372,7 +372,7 @@ 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; } }