summaryrefslogtreecommitdiff
path: root/landscape.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-07-30 07:42:37 +0000
committertron <tron@openttd.org>2006-07-30 07:42:37 +0000
commita46aa3153c18e61012c97cf6b88237e9b4687a5d (patch)
treeb78e657ed12eb429dce2e2fbfaedd03d9f9dcf1b /landscape.c
parent801bf631b0d95c30032fe59640b932c867b4b4d3 (diff)
downloadopenttd-a46aa3153c18e61012c97cf6b88237e9b4687a5d.tar.xz
(svn r5641) -Fix: Adjust/correct some bounding boxes. This fixes some graphical glitches near bridges
Diffstat (limited to 'landscape.c')
-rw-r--r--landscape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/landscape.c b/landscape.c
index 918203537..753e24d48 100644
--- a/landscape.c
+++ b/landscape.c
@@ -241,7 +241,7 @@ void DrawFoundation(TileInfo *ti, uint f)
AddSortableSpriteToDraw(
HASBIT(M(SLOPE_W) | M(SLOPE_S) | M(SLOPE_E) | M(SLOPE_N), ti->tileh) ?
sprite_base + (f - 15) : SPR_FOUNDATION_BASE + ti->tileh,
- ti->x, ti->y, 1, 1, 1, ti->z
+ ti->x, ti->y, 16, 16, 1, ti->z
);
#undef M