if (cfg.system_colour) systopalette();
static void cfgtopalette(void){    int i;    static const int ww[] = {	6, 7, 8, 9, 10, 11, 12, 13,	14, 15, 16, 17, 18, 19, 20, 21,	0, 1, 2, 3, 4, 4, 5, 5    };    for (i = 0; i < 24; i++) {	int w = ww[i];	defpal[i].rgbtRed = cfg.colours[w][0];	defpal[i].rgbtGreen = cfg.colours[w][1];	defpal[i].rgbtBlue = cfg.colours[w][2];    }}