mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-24 19:30:26 +01:00
Look at +cdpath parameter when searching for files to build menus
This commit is contained in:
parent
cb0ad7a57f
commit
907678afa5
|
@ -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