mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-02 09:40:35 +00:00
(svn r14556) -Fix (r14533): Bounding box with height > TILE_HEIGHT could cause circular dependencies with surrounding bridges.
This commit is contained in:
parent
706dd0f86c
commit
f8ed412b40
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user