Fix catenary drawing in depots
commit0a295cf6310be9478e28d2b82e317aa658014249
authorcirdan <cirdansw@gmail.com>
Fri, 26 Jan 2018 19:14:54 +0000 (26 20:14 +0100)
committercirdan <cirdansw@gmail.com>
Fri, 26 Jan 2018 19:14:54 +0000 (26 20:14 +0100)
tree6e2b62ea4e5a00f99a90bea01d42b0fb129c07ac
parent3d1a2272f614081b977dd7319ae60b16ce80d3d8
Fix catenary drawing in depots

The wrong sprite was being drawn for the catenary in electrified
depots, which was noticeable if the transparency options were
set to draw the wire but not the depot building. To fix this,
DrawRailDepotCatenary has to invert the direction of the depot
when passing it to DrawRailTunnelDepotCatenary, as the direction
of a tunnel is that into the tunnel but the direction of a depot
is that out of the depot.
src/elrail_func.h