diff options
author | rubidium <rubidium@openttd.org> | 2007-03-09 14:41:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-09 14:41:39 +0000 |
commit | 2b6736d24434e35ecc940e5d0cdd7344fd7903e2 (patch) | |
tree | 9583d8e8d6da6438f5dc346057ab303487ed2f2f /src/table/elrail_data.h | |
parent | e1eab15b842949e4a28f65fd21fd71b247e9df4b (diff) | |
download | openttd-2b6736d24434e35ecc940e5d0cdd7344fd7903e2.tar.xz |
(svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances.
Diffstat (limited to 'src/table/elrail_data.h')
-rw-r--r-- | src/table/elrail_data.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/table/elrail_data.h b/src/table/elrail_data.h index 003da906d..3f43899e9 100644 --- a/src/table/elrail_data.h +++ b/src/table/elrail_data.h @@ -340,6 +340,14 @@ static const SortableSpriteStruct CatenarySpriteData_Depot[] = { { SPR_WIRE_DEPOT_NW, 8, 0, 1, 8, 1, ELRAIL_ELEVATION } //! Wire for NW depot exit }; +static const SortableSpriteStruct CatenarySpriteData_Tunnel[] = { + { SPR_WIRE_TUNNEL_NE, 0, 8, 8, 1, 1, ELRAIL_ELEVATION }, //! Wire for NE tunnel exit + { SPR_WIRE_TUNNEL_SE, 8, 0, 1, 8, 1, ELRAIL_ELEVATION }, //! Wire for SE tunnel exit + { SPR_WIRE_TUNNEL_SW, 0, 8, 8, 1, 1, ELRAIL_ELEVATION }, //! Wire for SW tunnel exit + { SPR_WIRE_TUNNEL_NW, 8, 0, 1, 8, 1, ELRAIL_ELEVATION } //! Wire for NW tunnel exit +}; + + /** Refers to a certain element of the catenary. * Identifiers for Wires: * <ol><li>Direction of the wire</li> |