Codechange: Use references for non-optional in/out values of slope functions
This commit is contained in:
@@ -389,7 +389,7 @@ static void DrawRailCatenaryRailway(const TileInfo *ti)
|
||||
foundation = GetBridgeFoundation(tileh[TS_NEIGHBOUR], DiagDirToAxis(GetTunnelBridgeDirection(neighbour)));
|
||||
}
|
||||
|
||||
ApplyFoundationToSlope(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