Using getFileLocation.
This commit is contained in:
parent
0431da6aa4
commit
c95b56728f
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue