diff options
author | rubidium <rubidium@openttd.org> | 2010-08-26 15:31:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-08-26 15:31:40 +0000 |
commit | e2e26190d55fe5a7e053791ac9bce095b303be10 (patch) | |
tree | 94224f8433a94c28866b63347b64c3f7c8e4f201 /src/table/airporttiles.h | |
parent | 4efa2efdbba6f08b2ee4ca3aacb2aeb792429af4 (diff) | |
download | openttd-e2e26190d55fe5a7e053791ac9bce095b303be10.tar.xz |
(svn r20623) -Codechange: unify the storing of animation related information
Diffstat (limited to 'src/table/airporttiles.h')
-rw-r--r-- | src/table/airporttiles.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/airporttiles.h b/src/table/airporttiles.h index 37e7d512f..47a963158 100644 --- a/src/table/airporttiles.h +++ b/src/table/airporttiles.h @@ -13,9 +13,9 @@ #define AIRPORTTILES_H /** Writes all airport tile properties in the AirportTile struct */ -#define AT(num_frames, anim_speed) {(1 << 8) | num_frames, anim_speed, STR_NULL, 0, 0, 0, true, GRFFileProps(INVALID_AIRPORTTILE)} +#define AT(num_frames, anim_speed) {{num_frames, ANIM_STATUS_LOOPING, anim_speed, 0}, STR_NULL, 0, 0, true, GRFFileProps(INVALID_AIRPORTTILE)} /** Writes an airport tile without animation in the AirportTile struct */ -#define AT_NOANIM {0xFFFF, 2, STR_NULL, 0, 0, 0, true, GRFFileProps(INVALID_AIRPORTTILE)} +#define AT_NOANIM {{0, ANIM_STATUS_NO_ANIMATION, 2, 0}, STR_NULL, 0, 0, true, GRFFileProps(INVALID_AIRPORTTILE)} /** * All default airport tiles. |