MIssion loading bug fix for Linux.
This commit is contained in:
parent
d79325a0b3
commit
2c5cb1cd0b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue