diff --git a/src/game.c b/src/game.c index 4ea7de2..f86cef3 100644 --- a/src/game.c +++ b/src/game.c @@ -69,7 +69,7 @@ int game(int colonnes, int lignes) { i=0; for (l = 0; l < lignes; l++) { for (c = 0; c < colonnes; c++) { - sprintf(file, "../img/cards/%dx%d/%d.png", colonnes, lignes, tab[i]); + sprintf(file, "img/cards/%dx%d/%d.png", colonnes, lignes, tab[i]); cards[l][c] = create_card( GAME_MARGIN_RIGHT + (((WINDOW_WIDTH - (GAME_MARGIN_RIGHT + GAME_MARGIN_LEFT)) - (case_max_dimensions * colonnes)) / 2) + (c * case_max_dimensions), GAME_MARGIN_TOP + (((WINDOW_HEIGHT - (GAME_MARGIN_TOP + GAME_MARGIN_BOTTOM)) - (case_max_dimensions * lignes)) / 2) + (l * case_max_dimensions),