summaryrefslogtreecommitdiff
path: root/src/fileio_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2016-09-04 12:47:39 +0000
committeralberth <alberth@openttd.org>2016-09-04 12:47:39 +0000
commitc6ac071619ca22c46593e2a0dc6b449c8375ef66 (patch)
treeccc0177c9c1ae47a4e0043b644a5f0dba38cd21a /src/fileio_type.h
parent2fa0fdb1768f45ffaf4fe14fbdbdb73d501d6c36 (diff)
downloadopenttd-c6ac071619ca22c46593e2a0dc6b449c8375ef66.tar.xz
(svn r27639) -Codechange: Also always set the abstract FileToSaveLoad::filetype when setting a mode.
Diffstat (limited to 'src/fileio_type.h')
-rw-r--r--src/fileio_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio_type.h b/src/fileio_type.h
index 390b28f24..3aee5a0e7 100644
--- a/src/fileio_type.h
+++ b/src/fileio_type.h
@@ -20,6 +20,8 @@ enum AbstractFileType {
FT_SAVEGAME, ///< old or new savegame
FT_SCENARIO, ///< old or new scenario
FT_HEIGHTMAP, ///< heightmap file
+
+ FT_INVALID = 7, ///< Invalid or unknown file type.
};
/** Elements of a file system that are recognized. */