mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 02:20:25 +01:00
Merge pull request #71 from twolife/search_cdpath
Look at +cdpath parameter when searching for files to build menus
This commit is contained in:
commit
9889193d0a
|
@ -4357,7 +4357,7 @@ void CLoadSaveMenu::StartMenu(void)
|
||||||
|
|
||||||
// list the directory
|
// list the directory
|
||||||
CDynamicStackArray<CTFileName> afnmDir;
|
CDynamicStackArray<CTFileName> afnmDir;
|
||||||
MakeDirList(afnmDir, gm_fnmDirectory, CTString(""), 0);
|
MakeDirList(afnmDir, gm_fnmDirectory, CTString(""), DLI_SEARCHCD);
|
||||||
gm_iLastFile = -1;
|
gm_iLastFile = -1;
|
||||||
|
|
||||||
// for each file in the directory
|
// for each file in the directory
|
||||||
|
|
Loading…
Reference in New Issue
Block a user