# HG changeset patch # User Darkvater # Date 2005-05-02 21:56:01 # Node ID f519500462ed9ac236c9827d608ea69c62ed087a # Parent 454305d15787f52153b83f3cf3ca4fecb1a45ec6 (svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable savegames and does not depend on the whim of the currently open saveload dialog diff --git a/console_cmds.c b/console_cmds.c --- a/console_cmds.c +++ b/console_cmds.c @@ -223,10 +223,11 @@ DEF_CONSOLE_CMD(ConListFiles) int i; if (argc == 0) { - IConsoleHelp("List all the files in the current dir via console. Usage: 'ls \\ dir'"); + IConsoleHelp("List all loadable savegames and directories in the current dir via console. Usage: 'ls \\ dir'"); return true; } + _saveload_mode = SLD_LOAD_GAME; BuildFileList(); for (i = 0; i < _fios_num; i++) {