Fix 908ee729: Inverted condition prevented actually writing data to files. (#12941)
[openttd-github.git] / src / saveload / compat / depot_sl_compat.h
blob8fcf4b686162cd597aacd3e85d397dc1a36444a5
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
8 /** @file depot_sl_compat.h Loading for depot chunks before table headers were added. */
10 #ifndef SAVELOAD_COMPAT_DEPOT_H
11 #define SAVELOAD_COMPAT_DEPOT_H
13 #include "../saveload.h"
15 /** Original field order for _depot_desc. */
16 const SaveLoadCompat _depot_sl_compat[] = {
17 SLC_VAR("xy"),
18 SLC_VAR("town_index"),
19 SLC_VAR("town"),
20 SLC_VAR("town_cn"),
21 SLC_VAR("name"),
22 SLC_VAR("build_date"),
25 #endif /* SAVELOAD_COMPAT_DEPOT_H */