equal
deleted
inserted
replaced
2150 Point pt = RemapCoords(dtss->delta_x, dtss->delta_y, dtss->delta_z); |
2150 Point pt = RemapCoords(dtss->delta_x, dtss->delta_y, dtss->delta_z); |
2151 DrawSprite((dtss->image | ormod) + rti->total_offset, x + pt.x, y + pt.y); |
2151 DrawSprite((dtss->image | ormod) + rti->total_offset, x + pt.x, y + pt.y); |
2152 } |
2152 } |
2153 } |
2153 } |
2154 |
2154 |
2155 static uint GetSlopeZ_Station(const TileInfo* ti) |
2155 static uint GetSlopeZ_Station(TileIndex tile, uint x, uint y) |
2156 { |
2156 { |
2157 return ti->z + (ti->tileh == SLOPE_FLAT ? 0 : TILE_HEIGHT); |
2157 return GetTileMaxZ(tile); |
2158 } |
2158 } |
2159 |
2159 |
2160 static Slope GetSlopeTileh_Station(TileIndex tile, Slope tileh) |
2160 static Slope GetSlopeTileh_Station(TileIndex tile, Slope tileh) |
2161 { |
2161 { |
2162 return SLOPE_FLAT; |
2162 return SLOPE_FLAT; |