From a9d4147eb28618727c7f8ad013146d04350d3ffe Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 3 Jan 2010 20:55:00 +0000 Subject: (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. --- src/tunnelbridge_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tunnelbridge_cmd.cpp') diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index 42e18201b..0b199bb4e 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -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 */ -- cgit v1.2.3-54-g00ecf