Merge branch 'master' into jgrpp
# Conflicts: # src/fileio.cpp # src/fileio_func.h # src/industry_cmd.cpp # src/ini.cpp # src/openttd.cpp # src/os/windows/win32_main.cpp # src/settingsgen/settingsgen.cpp # src/strgen/strgen.cpp # src/strings.cpp
This commit is contained in:
@@ -251,8 +251,7 @@ std::string FiosMakeHeightmapName(const char *name)
|
||||
*/
|
||||
bool FiosDelete(const char *name)
|
||||
{
|
||||
std::string filename = FiosMakeSavegameName(name);
|
||||
return unlink(filename.c_str()) == 0;
|
||||
return FioRemove(FiosMakeSavegameName(name));
|
||||
}
|
||||
|
||||
typedef FiosType fios_getlist_callback_proc(SaveLoadOperation fop, const std::string &filename, const char *ext, char *title, const char *last);
|
||||
|
Reference in New Issue
Block a user