diff options
Diffstat (limited to 'ship_gui.c')
-rw-r--r-- | ship_gui.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ship_gui.c b/ship_gui.c index a65270be7..37505a8a9 100644 --- a/ship_gui.c +++ b/ship_gui.c @@ -217,9 +217,7 @@ static void ShowShipDetailsWindow(const Vehicle *v) DeleteWindowById(WC_VEHICLE_ORDERS, veh); DeleteWindowById(WC_VEHICLE_DETAILS, veh); - _alloc_wnd_parent_num = veh; - w = AllocateWindowDesc(&_ship_details_desc); - w->window_number = veh; + w = AllocateWindowDescFront(&_ship_details_desc, veh); w->caption_color = v->owner; } |