From 64b76d94270e6caaa12ba9a1dac4e92804cc3c80 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 2 Nov 2008 11:23:44 +0000 Subject: (svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges. --- src/landscape.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/landscape.cpp') diff --git a/src/landscape.cpp b/src/landscape.cpp index 87fae70f3..c2494175d 100644 --- a/src/landscape.cpp +++ b/src/landscape.cpp @@ -420,7 +420,7 @@ void DrawFoundation(TileInfo *ti, Foundation f) AddSortableSpriteToDraw(inclined_base + inclined, PAL_NONE, ti->x, ti->y, f == FOUNDATION_INCLINED_X ? 16 : 1, f == FOUNDATION_INCLINED_Y ? 16 : 1, - TILE_HEIGHT + 1, ti->z + TILE_HEIGHT, ti->z ); OffsetGroundSprite(31, 9); } else if (IsLeveledFoundation(f)) { @@ -469,7 +469,7 @@ void DrawFoundation(TileInfo *ti, Foundation f) AddSortableSpriteToDraw(inclined_base + inclined, PAL_NONE, ti->x, ti->y, f == FOUNDATION_INCLINED_X ? 16 : 1, f == FOUNDATION_INCLINED_Y ? 16 : 1, - TILE_HEIGHT + 1, ti->z + TILE_HEIGHT, ti->z ); OffsetGroundSprite(31, 9); } -- cgit v1.2.3-54-g00ecf