(svn r7206) -Codechange: Remove (some of) the magic needed for windows that could be invalid after
a call to DeleteWindow() somewhere else. Also do some cleanup with AllowWindowDescFront()
This commit is contained in:
@@ -454,7 +454,6 @@ void ShowVehicleRefitWindow(const Vehicle *v, VehicleOrderID order)
|
||||
WP(w, refit_d).order = order;
|
||||
|
||||
if (w != NULL) {
|
||||
w->window_number = v->index;
|
||||
w->caption_color = v->owner;
|
||||
w->vscroll.cap = 8;
|
||||
w->resize.step_height = 14;
|
||||
|
||||
Reference in New Issue
Block a user