MIssion loading bug fix for Linux.
This commit is contained in:
parent
d79325a0b3
commit
2c5cb1cd0b
|
@ -1,5 +1,9 @@
|
|||
Changelog
|
||||
|
||||
0.51
|
||||
|
||||
* Fixed a mission loading bug on Linux.
|
||||
|
||||
0.5
|
||||
|
||||
* Added capital ships
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue