Changeset - r2553:cd92b9384145
[Not reviewed]
master
0 1 0
bjarni - 18 years ago 2005-10-24 20:12:39
bjarni@openttd.org
(svn r3082) made ChangeVehicleViewWindow() more readable (added in last commit)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
vehicle_gui.c
Show inline comments
 
@@ -1099,7 +1099,7 @@ void ChangeVehicleViewWindow(const Vehic
 

	
 
	if (w != NULL) {
 
		w->window_number = to_v->index;
 
		WP(w, vp_d).follow_vehicle = (VehicleID)(w->window_number & 0xFFFF);
 
		WP(w, vp_d).follow_vehicle = to_v->index;	// tell the viewport to follow the new vehicle
 
		SetWindowDirty(w);
 

	
 
		w = FindWindowById(WC_VEHICLE_ORDERS, from_v->index);
0 comments (0 inline, 0 general)