diff options
author | bjarni <bjarni@openttd.org> | 2006-10-05 23:10:58 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-10-05 23:10:58 +0000 |
commit | 116bca1fc0c2d70ce7b7a5d1255dd107975a933c (patch) | |
tree | 2cd3cd8fec6b9b40a56444a1c1300c931c009461 /depot_gui.c | |
parent | 69adf2e93f8e6eb81af29801ae8d51bfedee0790 (diff) | |
download | openttd-116bca1fc0c2d70ce7b7a5d1255dd107975a933c.tar.xz |
(svn r6657) -Change: [depot window] sell all vehicles in depot confirm window now opens on top of depot window instead of in the middle of the screen
Diffstat (limited to 'depot_gui.c')
-rw-r--r-- | depot_gui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/depot_gui.c b/depot_gui.c index f7b4b9307..e2fdb4776 100644 --- a/depot_gui.c +++ b/depot_gui.c @@ -212,7 +212,7 @@ static const Widget _depot_sell_all_widgets[] = { static const WindowDesc _depot_sell_all_desc = { WDP_CENTER, WDP_CENTER, 300, 72, - WC_DEPOT_SELL_ALL,0, + WC_DEPOT_SELL_ALL, WC_VEHICLE_DEPOT, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, _depot_sell_all_widgets, DepotSellAllWndProc @@ -222,6 +222,7 @@ static void ShowDepotSellAllWindow(TileIndex tile, byte type) { Window *w; + _alloc_wnd_parent_num = tile; w = AllocateWindowDescFront(&_depot_sell_all_desc, tile); if (w != NULL) { |