diff options
author | peter1138 <peter1138@openttd.org> | 2018-03-05 21:24:48 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2018-03-05 21:24:48 +0000 |
commit | 86829c54c447a1c7d8176b63cce8f35184098e15 (patch) | |
tree | 339e16fc24df16ea61a9ae270c4390e6970eef06 /src | |
parent | d4301cd7b6d8ea58ff693726d9e4ffb8687ee02c (diff) | |
download | openttd-86829c54c447a1c7d8176b63cce8f35184098e15.tar.xz |
(svn r27972) -Fix (r15271) [FS#6670]: Catenary sprites got mixed up for depots.
Diffstat (limited to 'src')
-rw-r--r-- | src/table/elrail_data.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/table/elrail_data.h b/src/table/elrail_data.h index 102ad4264..691536003 100644 --- a/src/table/elrail_data.h +++ b/src/table/elrail_data.h @@ -310,10 +310,10 @@ enum WireSpriteOffset { WSO_X_NE_UP, WSO_Y_NW_DOWN, - WSO_ENTRANCE_NE, - WSO_ENTRANCE_SE, WSO_ENTRANCE_SW, WSO_ENTRANCE_NW, + WSO_ENTRANCE_NE, + WSO_ENTRANCE_SE, }; struct SortableSpriteStruct { @@ -400,10 +400,10 @@ static const SortableSpriteStruct RailCatenarySpriteData_Depot[] = { }; static const SortableSpriteStruct RailCatenarySpriteData_Tunnel[] = { - { WSO_ENTRANCE_NE, 0, 7, 15, 1, 1, ELRAIL_ELEVATION }, //! Wire for NE tunnel exit - { WSO_ENTRANCE_SE, 7, 0, 1, 15, 1, ELRAIL_ELEVATION }, //! Wire for SE tunnel exit - { WSO_ENTRANCE_SW, 0, 7, 15, 1, 1, ELRAIL_ELEVATION }, //! Wire for SW tunnel exit - { WSO_ENTRANCE_NW, 7, 0, 1, 15, 1, ELRAIL_ELEVATION } //! Wire for NW tunnel exit + { WSO_ENTRANCE_SW, 0, 7, 15, 1, 1, ELRAIL_ELEVATION }, //! Wire for NE tunnel (SW facing exit) + { WSO_ENTRANCE_NW, 7, 0, 1, 15, 1, ELRAIL_ELEVATION }, //! Wire for SE tunnel (NW facing exit) + { WSO_ENTRANCE_NE, 0, 7, 15, 1, 1, ELRAIL_ELEVATION }, //! Wire for SW tunnel (NE facing exit) + { WSO_ENTRANCE_SE, 7, 0, 1, 15, 1, ELRAIL_ELEVATION } //! Wire for NW tunnel (SE facing exit) }; |