Changeset - r13875:54f1a8e7e0b9
[Not reviewed]
master
0 1 0
peter1138 - 14 years ago 2009-12-06 11:46:57
peter1138@openttd.org
(svn r18414) -Fix: In the depot window, 'free' wagons were not drawn resize.step_height apart
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/depot_gui.cpp
Show inline comments
 
@@ -326,7 +326,7 @@ struct DepotWindow : Window {
 
		maxval = min(this->vehicle_list.Length() + this->wagon_list.Length(), (this->vscroll.GetPosition() * boxes_in_each_row) + (rows_in_display * boxes_in_each_row));
 

	
 
		/* draw the train wagons, that do not have an engine in front */
 
		for (; num < maxval; num++, y += 14) {
 
		for (; num < maxval; num++, y += this->resize.step_height) {
 
			const Vehicle *v = this->wagon_list[num - this->vehicle_list.Length()];
 
			this->DrawVehicleInDepot(v, r.left, r.right, y);
 
		}
0 comments (0 inline, 0 general)