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++) {