diff options
author | bjarni <bjarni@openttd.org> | 2006-09-03 23:14:39 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-03 23:14:39 +0000 |
commit | 718255a7003d8164cee09b061b3a3bd2e29c4445 (patch) | |
tree | 817487db0395cb7c4520782b36843e4071fa6934 /aircraft_gui.c | |
parent | adc785b69843eb0e5829ea0aa53cdeb2c687c7bb (diff) | |
download | openttd-718255a7003d8164cee09b061b3a3bd2e29c4445.tar.xz |
(svn r6370) -Codechange: moved all the remaining setup for PlayerVehWndProc() into WE_CREATE
Diffstat (limited to 'aircraft_gui.c')
-rw-r--r-- | aircraft_gui.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c index 7bbb04855..d3b5aa4fe 100644 --- a/aircraft_gui.c +++ b/aircraft_gui.c @@ -1034,12 +1034,6 @@ void ShowPlayerAircraftLocal(PlayerID player, StationID station, OrderID order, w = AllocateWindowDescFront(&_other_player_aircraft_desc, (station << 16) | (VEH_Aircraft << 11) | VLW_flag | player); } } - - if (w != NULL) { - w->vscroll.cap = 4; - w->widget[7].unkA = (w->vscroll.cap << 8) + 1; - w->resize.step_height = PLY_WND_PRC__SIZE_OF_ROW_BIG; - } } void ShowPlayerAircraft(PlayerID player, StationID station) |