mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-22 03:42:41 +01:00
(svn r23102) -Codechange: remove the remaining pointless multiplications by TILE_HEIGHT
This commit is contained in:
@@ -376,7 +376,7 @@ static void DrawCatenaryRailway(const TileInfo *ti)
|
||||
foundation = GetBridgeFoundation(tileh[TS_NEIGHBOUR], DiagDirToAxis(GetTunnelBridgeDirection(neighbour)));
|
||||
}
|
||||
|
||||
ApplyPixelFoundationToSlope(foundation, &tileh[TS_NEIGHBOUR]);
|
||||
ApplyFoundationToSlope(foundation, &tileh[TS_NEIGHBOUR]);
|
||||
|
||||
/* Half tile slopes coincide only with horizontal/vertical track.
|
||||
* Faking a flat slope results in the correct sprites on positions. */
|
||||
|
||||
Reference in New Issue
Block a user