diff --git a/distribution/changelog.txt b/distribution/changelog.txt index ae17f8f466..30b46901a5 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -74,6 +74,7 @@ - Fix: [#17980] Queue lines of track designs mess up existing queue lines if dragged through them. - Fix: [#17959] Areas marked for dirty drawing are too large. - Fix: [#17963] Some marketing campaigns can’t be started after Finances window tab has been on Research. +- Fix: [#17964] Sprites don’t show up on two sides of the view-clip selection. - Fix: [#17966] Reversed steel trains do not properly import from S4. - Fix: [#17973] Bins and lamps overlay parts of the land (original bug). - Fix: [#18008] Steeplechase S-bends has multiple gaps visible in the tracks (original bug). diff --git a/src/openrct2/paint/Paint.Entity.cpp b/src/openrct2/paint/Paint.Entity.cpp index f12881acd8..c4861fbe53 100644 --- a/src/openrct2/paint/Paint.Entity.cpp +++ b/src/openrct2/paint/Paint.Entity.cpp @@ -85,11 +85,11 @@ void EntityPaintSetup(paint_session& session, const CoordsXY& pos) { continue; } - if (entityPos.x < gClipSelectionA.x || entityPos.x > gClipSelectionB.x) + if (entityPos.x < gClipSelectionA.x || entityPos.x > (gClipSelectionB.x + COORDS_XY_STEP - 1)) { continue; } - if (entityPos.y < gClipSelectionA.y || entityPos.y > gClipSelectionB.y) + if (entityPos.y < gClipSelectionA.y || entityPos.y > (gClipSelectionB.y + COORDS_XY_STEP - 1)) { continue; }