(svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges.
authorfrosch
Sun, 02 Nov 2008 11:23:44 +0000
changeset 10311 44b12fe10656
parent 10310 ca2eb5811a07
child 10312 3c14d0ea0ef5
(svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges.
src/landscape.cpp
--- a/src/landscape.cpp	Sun Nov 02 11:20:15 2008 +0000
+++ b/src/landscape.cpp	Sun Nov 02 11:23:44 2008 +0000
@@ -420,7 +420,7 @@
 			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 @@
 			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);
 		}