summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-08-05 00:59:45 +0000
committerDarkvater <Darkvater@openttd.org>2006-08-05 00:59:45 +0000
commit97c3b5cad8b79596b5ef2a5151af25b9fbb87467 (patch)
tree6c1c325e24d7182ffd6868b3118786d9a3bcf41d /console_cmds.c
parent54f199e495e17e011f4b24aa1b294b5e99235ce5 (diff)
downloadopenttd-97c3b5cad8b79596b5ef2a5151af25b9fbb87467.tar.xz
(svn r5767) - Cleanup: Improve upon the header file mess regarding fios. Move all relevant types from hal.h into fios.h, eliminate the unneccessary passing of a global variable, and extern variables in header files (declare in fios.c and misc_gui.c
Diffstat (limited to 'console_cmds.c')
-rw-r--r--console_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 5d76687bc..7101961fe 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -15,7 +15,7 @@
#include "network_udp.h"
#include "command.h"
#include "settings.h"
-#include "hal.h" /* for file list */
+#include "fios.h"
#include "vehicle.h"
#include "station.h"
#include "strings.h"
@@ -345,7 +345,7 @@ DEF_CONSOLE_CMD(ConPrintWorkingDirectory)
}
// XXX - Workaround for broken file handling
- FiosGetSavegameList(&_fios_num, SLD_LOAD_GAME);
+ FiosGetSavegameList(SLD_LOAD_GAME);
FiosFreeSavegameList();
FiosGetDescText(&path, NULL);