From 2c5cb1cd0b7c3e5a033e6902abaf4823740dfcfd Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 29 Feb 2016 22:11:57 +0000 Subject: [PATCH] MIssion loading bug fix for Linux. --- CHANGELOG | 4 ++++ common.mk | 2 +- src/galaxy/starSystems.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 5f366e2..1cdf1c2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ Changelog +0.51 + + * Fixed a mission loading bug on Linux. + 0.5 * Added capital ships diff --git a/common.mk b/common.mk index 08216df..a1b7650 100644 --- a/common.mk +++ b/common.mk @@ -1,4 +1,4 @@ -VERSION = 0.5 +VERSION = 0.51 REVISION = $(shell date +"%y%m%d") SEARCHPATH += src/ src/battle src/draw src/game src/galaxy src/json src/system src/test diff --git a/src/galaxy/starSystems.c b/src/galaxy/starSystems.c index 03ae06b..9d0cb09 100644 --- a/src/galaxy/starSystems.c +++ b/src/galaxy/starSystems.c @@ -90,7 +90,7 @@ static void loadMissions(StarSystem *starSystem) sprintf(path, "data/missions/%s", name); - filenames = getFileList(path, &count); + filenames = getFileList(getFileLocation(path), &count); for (i = 0 ; i < count ; i++) {