diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 29807e9039..b56f822fda 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -65,6 +65,7 @@ - Fix: [#17959] Areas marked for dirty drawing are too large. - Fix: [#17966] Reversed steel trains do not properly import from S4. - Fix: [#18008] Steeplechase S-bends has multiple gaps visible in the tracks. +- Fix: [#18009] Visual glitch with litter at edge of sloped path. 0.4.1 (2022-07-04) ------------------------------------------------------------------------ diff --git a/src/openrct2/entity/Litter.cpp b/src/openrct2/entity/Litter.cpp index c248222522..0b48db252b 100644 --- a/src/openrct2/entity/Litter.cpp +++ b/src/openrct2/entity/Litter.cpp @@ -188,5 +188,5 @@ void Litter::Paint(paint_session& session, int32_t imageDirection) const // In the following call to PaintAddImageAsParent, we add 4 (instead of 2) to the // bound_box_offset_z to make sure litter is drawn on top of railways - PaintAddImageAsParent(session, image_id, { 0, 0, z }, { 4, 4, -1 }, { -4, -4, z + 4 }); + PaintAddImageAsParent(session, image_id, { 0, 0, z }, { 5, 5, -1 }, { -4, -4, z + 4 }); }