mirror of https://github.com/OpenTTD/OpenTTD.git
(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;
|
int x,y;
|
||||||
|
|
||||||
if (IsTransportUnderBridge(ti->tile)) {
|
if (IsTransportUnderBridge(ti->tile)) {
|
||||||
// draw transport route under bridge
|
|
||||||
|
|
||||||
// draw foundation?
|
// draw foundation?
|
||||||
if (ti->tileh) {
|
if (ti->tileh) {
|
||||||
int f = _bridge_foundations[axis][ti->tileh];
|
int f = _bridge_foundations[axis][ti->tileh];
|
||||||
|
@ -1025,9 +1023,9 @@ static void DrawTile_TunnelBridge(TileInfo *ti)
|
||||||
} else {
|
} else {
|
||||||
// road
|
// road
|
||||||
if (ti->tileh == 0) {
|
if (ti->tileh == 0) {
|
||||||
image = _road_sloped_sprites[ti->tileh - 1] + 0x53F;
|
|
||||||
} else {
|
|
||||||
image = (axis == AXIS_X ? SPR_ROAD_Y : SPR_ROAD_X);
|
image = (axis == AXIS_X ? SPR_ROAD_Y : SPR_ROAD_X);
|
||||||
|
} else {
|
||||||
|
image = _road_sloped_sprites[ti->tileh - 1] + 0x53F;
|
||||||
}
|
}
|
||||||
if (ice) image += 19;
|
if (ice) image += 19;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue