forked from mirror/OpenTTD
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
This commit is contained in:
@@ -1184,7 +1184,7 @@ void DrawBridgeMiddle(const TileInfo *ti)
|
||||
pal = PALETTE_TO_TRANSPARENT;
|
||||
}
|
||||
|
||||
DrawGroundSpriteAt(image, pal, x, y, z);
|
||||
DrawGroundSpriteAt(image, pal, x - ti->x, y - ti->y, z - ti->z);
|
||||
}
|
||||
} else if (_settings_client.gui.bridge_pillars) {
|
||||
/* draw pillars below for high bridges */
|
||||
|
Reference in New Issue
Block a user