mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r3903) Fix a copy&pasto in last commit and remove a redundant comment (the line above already says what's going on)
This commit is contained in:
parent
1257d9e565
commit
a3c45635a7
@ -1004,8 +1004,6 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
|
||||
int x,y;
|
||||
|
||||
if (IsTransportUnderBridge(ti->tile)) {
|
||||
// draw transport route under bridge
|
||||
|
||||
// draw foundation?
|
||||
if (ti->tileh) {
|
||||
int f = _bridge_foundations[axis][ti->tileh];
|
||||
@ -1025,9 +1023,9 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
|
||||
} else {
|
||||
// road
|
||||
if (ti->tileh == 0) {
|
||||
image = _road_sloped_sprites[ti->tileh - 1] + 0x53F;
|
||||
} else {
|
||||
image = (axis == AXIS_X ? SPR_ROAD_Y : SPR_ROAD_X);
|
||||
} else {
|
||||
image = _road_sloped_sprites[ti->tileh - 1] + 0x53F;
|
||||
}
|
||||
if (ice) image += 19;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user