diff options
author | frosch <frosch@openttd.org> | 2010-01-03 20:55:00 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-03 20:55:00 +0000 |
commit | a9d4147eb28618727c7f8ad013146d04350d3ffe (patch) | |
tree | 7e12fcbfcc09072b26c37158cb1a123b2a4571ae /src/tunnelbridge_cmd.cpp | |
parent | 8a50a4112c4cf425b3d47c189f80c4e053c047bc (diff) | |
download | openttd-a9d4147eb28618727c7f8ad013146d04350d3ffe.tar.xz |
(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.
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |