diff options
author | rubidium <rubidium@openttd.org> | 2011-11-16 16:54:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-11-16 16:54:37 +0000 |
commit | a3a2fdcfc2f8737ed1c52672c473b4fe32ac2bc9 (patch) | |
tree | c1d02f09d8f5a5eac339a90c080096e9e72a0010 /src/fileio_func.h | |
parent | 6548ec6e9ecf0f6d608d0b738213f62b1ce6e584 (diff) | |
download | openttd-a3a2fdcfc2f8737ed1c52672c473b4fe32ac2bc9.tar.xz |
(svn r23234) -Fix [FS#4840]: crash when after downloading content
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r-- | src/fileio_func.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h index ddc86f692..76bd54302 100644 --- a/src/fileio_func.h +++ b/src/fileio_func.h @@ -105,6 +105,8 @@ public: /* virtual */ bool AddFile(const char *filename, size_t basepath_length, const char *tar_filename = NULL); + bool AddFile(Subdirectory sd, const char *filename); + /** Do the scan for Tars. */ static uint DoScan(TarScanner::Mode mode); }; |