diff options
author | Darkvater <darkvater@openttd.org> | 2006-08-05 00:59:45 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-08-05 00:59:45 +0000 |
commit | a9251d2d02a17467343284442ee6857012e27c31 (patch) | |
tree | 6c1c325e24d7182ffd6868b3118786d9a3bcf41d /console_cmds.c | |
parent | 198f6caf20bf425bd1d3c8b91291f58213f6b60b (diff) | |
download | openttd-a9251d2d02a17467343284442ee6857012e27c31.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.c | 4 |
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); |