Changeset - r10311:f5dd8637a837
[Not reviewed]
master
0 1 0
frosch - 16 years ago 2008-11-02 11:23:44
frosch@openttd.org
(svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/landscape.cpp
Show inline comments
 
@@ -420,7 +420,7 @@ void DrawFoundation(TileInfo *ti, Founda
 
			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, Founda
 
			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);
 
		}
0 comments (0 inline, 0 general)