chiark / gitweb /
Cleanup: remove the game_state parameter to game_colours(). No game
[sgt-puzzles.git] / cube.c
diff --git a/cube.c b/cube.c
index 99d5bb1479544cb1976eb09ac284fff1d46f9264..283750bbd85ec3526ad088c21d4befbf7f7871e8 100644 (file)
--- a/cube.c
+++ b/cube.c
@@ -1476,7 +1476,7 @@ static void game_set_size(drawing *dr, game_drawstate *ds,
     ds->oy = (int)(-(bb.u - solids[params->solid]->border) * ds->gridscale);
 }
 
-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);