(svn r6370) -Codechange: moved all the remaining setup for PlayerVehWndProc() into WE_CREATE
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user