Changeset - r19739:001f1a1f2418
[Not reviewed]
master
0 1 0
michi_cc - 12 years ago 2012-11-10 22:37:14
michi_cc@openttd.org
(svn r24694) -Fix (r18136): Road vehicle selection frame wasn't drawn properly in the depot window.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/roadveh_gui.cpp
Show inline comments
 
@@ -153,7 +153,7 @@ void DrawRoadVehImage(const Vehicle *v, 
 
	}
 

	
 
	if (v->index == selection) {
 
		DrawFrameRect((rtl ? px : left) - 1, y - 1, (rtl ? px : right) - 1, y + 12, COLOUR_WHITE, FR_BORDERONLY);
 
		DrawFrameRect((rtl ? px : 0), 0, (rtl ? max_width : px) - 1, 12, COLOUR_WHITE, FR_BORDERONLY);
 
	}
 

	
 
	_cur_dpi = old_dpi;
0 comments (0 inline, 0 general)