(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:
frosch
2010-01-03 20:55:00 +00:00
parent 8a50a4112c
commit a9d4147eb2
6 changed files with 38 additions and 26 deletions

View File

@@ -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 */