diff options
author | truelight <truelight@openttd.org> | 2005-11-22 19:33:29 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-11-22 19:33:29 +0000 |
commit | 4845ff063b6c83eabcd3c6ee5a3dcff7debf4ddc (patch) | |
tree | 8f15e8f51a08918d4f10f865ca89248468c85aab /texteff.c | |
parent | 6a4ba84320ae137793760b628dad23de29d0b633 (diff) | |
download | openttd-4845ff063b6c83eabcd3c6ee5a3dcff7debf4ddc.tar.xz |
(svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version.
Diffstat (limited to 'texteff.c')
-rw-r--r-- | texteff.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -364,7 +364,8 @@ void InitializeAnimatedTiles(void) static void SaveLoad_ANIT(void) { - if (_sl_version < 6) { + // In pre version 6, we has 16bit per tile, now we have 32bit per tile, convert it ;) + if (CheckSavegameVersion(6)) { SlArray(_animated_tile_list, lengthof(_animated_tile_list), SLE_FILE_U16 | SLE_VAR_U32); } else { SlArray(_animated_tile_list, lengthof(_animated_tile_list), SLE_UINT32); |