1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 07:59:09 +00:00

(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:
bjarni
2006-09-28 19:56:29 +00:00
parent 681c8c0162
commit 1ae8aa4b80

View File

@@ -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();