mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r6561) -Fix r6513: [depot window] fixed an off by one error, that caused planes and ships to be drawn one pixel lower for each row
This commit is contained in:
parent
681c8c0162
commit
1ae8aa4b80
|
@ -881,7 +881,7 @@ void ShowDepotWindow(TileIndex tile, byte type)
|
|||
w->vscroll.cap = 3;
|
||||
w->hscroll.cap = 3;
|
||||
w->resize.step_width = 90;
|
||||
w->resize.step_height = 24;
|
||||
w->resize.step_height = 23;
|
||||
break;
|
||||
|
||||
case VEH_Aircraft:
|
||||
|
@ -889,7 +889,7 @@ void ShowDepotWindow(TileIndex tile, byte type)
|
|||
w->vscroll.cap = 3;
|
||||
w->hscroll.cap = 4;
|
||||
w->resize.step_width = 74;
|
||||
w->resize.step_height = 24;
|
||||
w->resize.step_height = 23;
|
||||
break;
|
||||
|
||||
default: NOT_REACHED();
|
||||
|
|
Loading…
Reference in New Issue