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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user