From c95b56728f57393637cef54a6f8cbd19268ce15c Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 29 Feb 2016 21:52:30 +0000 Subject: [PATCH] Using getFileLocation. --- src/draw/background.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw/background.c b/src/draw/background.c index 7461128..c331188 100644 --- a/src/draw/background.c +++ b/src/draw/background.c @@ -46,7 +46,7 @@ void initBackground(void) free(filenames); - filenames = getFileList("gfx/planets", &numPlanets); + filenames = getFileList(getFileLocation("gfx/planets"), &numPlanets); planets = malloc(sizeof(char*) * numPlanets); for (i = 0 ; i < numPlanets ; i++)