diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-02 21:56:01 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-02 21:56:01 +0000 |
commit | d26052c7df0e3ae640f45d72068e3112c2c21477 (patch) | |
tree | 86a6ec75fe6dab93a6c61405049a50ba3ac10dc2 | |
parent | 3b3a2b890f82c8978f8d0f4579ba8372a9925af4 (diff) | |
download | openttd-d26052c7df0e3ae640f45d72068e3112c2c21477.tar.xz |
(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
-rw-r--r-- | console_cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c index 3fd533a22..d4fe3001a 100644 --- 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++) { |