From 244e5d6dd958810ad6212d44851a60ffbfba82f4 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 6 Mar 2016 19:07:43 +0000 Subject: [PATCH] Merge from Master. --- src/galaxy/starSystems.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/galaxy/starSystems.c b/src/galaxy/starSystems.c index 8bfc4a4..a237ded 100644 --- a/src/galaxy/starSystems.c +++ b/src/galaxy/starSystems.c @@ -89,22 +89,22 @@ static void loadMissions(StarSystem *starSystem) { name[i] = tolower(name[i]); } - + sprintf(path, "data/missions/%s", name); - + filenames = getFileList(path, &count); - + for (i = 0 ; i < count ; i++) { sprintf(path, "data/missions/%s/%s", name, filenames[i]); - + mission = loadMissionMeta(path); tail->next = mission; tail = mission; - + free(filenames[i]); } - + free(filenames); }