MIssion loading bug fix for Linux.

This commit is contained in:
Steve 2016-02-29 22:11:57 +00:00
parent d79325a0b3
commit 2c5cb1cd0b
3 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
Changelog Changelog
0.51
* Fixed a mission loading bug on Linux.
0.5 0.5
* Added capital ships * Added capital ships

View File

@ -1,4 +1,4 @@
VERSION = 0.5 VERSION = 0.51
REVISION = $(shell date +"%y%m%d") REVISION = $(shell date +"%y%m%d")
SEARCHPATH += src/ src/battle src/draw src/game src/galaxy src/json src/system src/test SEARCHPATH += src/ src/battle src/draw src/game src/galaxy src/json src/system src/test

View File

@ -90,7 +90,7 @@ static void loadMissions(StarSystem *starSystem)
sprintf(path, "data/missions/%s", name); sprintf(path, "data/missions/%s", name);
filenames = getFileList(path, &count); filenames = getFileList(getFileLocation(path), &count);
for (i = 0 ; i < count ; i++) for (i = 0 ; i < count ; i++)
{ {