chiark / gitweb /
Cleanup: remove the game_state parameter to game_colours(). No game
[sgt-puzzles.git] / samegame.c
index 387216d1407bbf01cae2618d9eae7a0f4c2a8338..08ac75865b14fce4016d827027d065e4f8afe10e 100644 (file)
@@ -1362,7 +1362,7 @@ static void game_compute_size(game_params *params, int tilesize,
     *y = TILE_SIZE * params->h + 2 * BORDER - TILE_GAP;
 }
 
-static float *game_colours(frontend *fe, game_state *state, int *ncolours)
+static float *game_colours(frontend *fe, int *ncolours)
 {
     float *ret = snewn(3 * NCOLOURS, float);