(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
authorDarkvater
Mon, 02 May 2005 21:56:01 +0000
changeset 1750 3d8ca7061851
parent 1749 bb7fa90dd0cb
child 1751 954dd2900ac9
(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
console_cmds.c
--- a/console_cmds.c	Mon May 02 18:53:06 2005 +0000
+++ b/console_cmds.c	Mon May 02 21:56:01 2005 +0000
@@ -223,10 +223,11 @@
 	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++) {