diff --git a/game_tools.c b/game_tools.c index 67e9ae2..4098000 100644 --- a/game_tools.c +++ b/game_tools.c @@ -11,7 +11,7 @@ game game_load(char* filename) { checkPointer((void*)filename); // ouvrons le fichier - FILE* f = fopen(filename, "r"); + FILE* f = fopen("filename.txt", "r"); if (f == NULL) { fprintf(stderr, "Problems with file %s.\n", filename); exit(EXIT_FAILURE);