mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 06:23:04 +01:00
Fix #17964: Sprites don't show up on two sides of the view-clip selection
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user