author | bjarni |
Mon, 24 Oct 2005 20:12:39 +0000 | |
changeset 2553 | 803733100f42 |
parent 2552 | fb174febb0b1 |
child 2554 | cd74b7099965 |
vehicle_gui.c | file | annotate | diff | comparison | revisions |
--- a/vehicle_gui.c Mon Oct 24 19:40:48 2005 +0000 +++ b/vehicle_gui.c Mon Oct 24 20:12:39 2005 +0000 @@ -1099,7 +1099,7 @@ 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);