summaryrefslogtreecommitdiff
path: root/ship_gui.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-09-03 23:14:39 +0000
committerbjarni <bjarni@openttd.org>2006-09-03 23:14:39 +0000
commite42d819b6aa6ae343968b52cfd8567bcd0300ab8 (patch)
tree817487db0395cb7c4520782b36843e4071fa6934 /ship_gui.c
parent7ab6ae3a21454bf7eb51ed9fea3bed2362b85996 (diff)
downloadopenttd-e42d819b6aa6ae343968b52cfd8567bcd0300ab8.tar.xz
(svn r6370) -Codechange: moved all the remaining setup for PlayerVehWndProc() into WE_CREATE
Diffstat (limited to 'ship_gui.c')
-rw-r--r--ship_gui.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ship_gui.c b/ship_gui.c
index 39d40b5e4..6e209dfdb 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -976,12 +976,6 @@ static void ShowPlayerShipsLocal(PlayerID player, StationID station, OrderID ord
w = AllocateWindowDescFront(&_other_player_ships_desc, (station << 16) | (VEH_Ship << 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 ShowPlayerShips(PlayerID player, StationID station)