Changeset - r2354:9aa5f0135356
[Not reviewed]
master
0 1 0
Darkvater - 19 years ago 2005-08-20 21:16:46
darkvater@openttd.org
(svn r2880) Fix graphical glitch in replace window (text at wrong coordinates)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vehicle_gui.c
Show inline comments
 
@@ -838,13 +838,13 @@ static void ReplaceVehicleWndProc(Window
 
						SetDParam(0, GetCustomEngineName(p->engine_replacement[selected_id[0]]));
 
				} else {
 
					SetDParam(0, STR_NOT_REPLACING_VEHICLE_SELECTED);
 
				}
 

	
 

	
 
				DrawString(145, (w->resize.step_height == 24 ? 77 : 87 ) + ( w->resize.step_height * w->vscroll.cap), STR_02BD, 0x10);
 
				DrawString(145, (w->resize.step_height == 24 ? 67 : 77 ) + ( w->resize.step_height * w->vscroll.cap), STR_02BD, 0x10);
 

	
 

	
 
				/*	now we draw the two arrays according to what we just counted */
 
				DrawEngineArrayInReplaceWindow(w, x, y, x2, y2, pos, pos2, sel[0], sel[1], selected_id[0], selected_id[1]);
 

	
 
				WP(w,replaceveh_d).sel_engine[0] = selected_id[0];
0 comments (0 inline, 0 general)